I am trying to get the loader_F30x.c program to work.
I'm following the appnote's instructions and get the following output over hyperterminal:
C8051F30x Selective Code Loader Example
------------------------------------------
- Erase the flash page at 0x1000
- Receive HEX file
- Execute the function at 0x1000 ?. Print Command List
Enter a command > 1
The problem is when I press "1" the program stops.
I assume the problem is that I'm not locating my code "loader_F30x.c" above 0x1000 and I'm trashing my code.
So I'm trying to locate my file in a different location via the linker and I get this error:
RS(256) PL(68) PW(78) CODE(?PR?*?LOADER_F30X(1500h))
*** FATAL ERROR L252: RESTRICTED VERSION: CODE MUST BE ABOVE 4000HI think my problem is in my linker directives "CODE(?PR?*?LOADER_F30X(1500h))"
Is an * valid in the above statement?
Thanks
Eric