Search the web
Sign In
New User? Sign Up
microchipC_pic18Fx_bootloader · www.microchipc.com PIC18Fx bootloader
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Read and write Flash Program Memory   Message List  
Reply | Forward Message #18 of 308 |
Hi. I'm working with the C18 and I very new using this compiler. I'm
trying to read and write the program memory with a code like this:

#include <p18F452>
#include <stdlib>

rom int v[5];

main()
{
int i;
int val;
char buff[16];
for (i=0;i<5;i++) // load values in to the array
v[i] = 2*5;

for (i=0;i<5;i++)
{
val = v[i];
itoa(val, buff);
print_lcd(buff); // With this function show the value in
// LCD module.
}
}

The problem is: Don't work!!!!!!!! The values in the array always
are 0. Some one test somthing like this?

Thank's for your time.

Sergio







Tue Jul 25, 2006 12:35 pm

pirulo_gomez...
Offline Offline
Send Email Send Email

Forward
Message #18 of 308 |
Expand Messages Author Sort by Date

Hi. I'm working with the C18 and I very new using this compiler. I'm trying to read and write the program memory with a code like this: #include <p18F452> ...
pirulo_gomez_2004
pirulo_gomez...
Offline Send Email
Jul 25, 2006
12:39 pm

Hi, Sounds like you've posted this to the wrong group. Regards, Shane Tolmie www.microchipC.com webmaster@......
smt5211
Online Now Send Email
Aug 21, 2006
9:58 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help