I'm trying to use the updater_F02x.c file and project to load my firmware and reset to run it. But the part I'm using is c8051f120.h. I understand the 02 code should work with the 120. I understand to place the code at a specific memory address you use these parameters during link: CODE(1000H, ?PR?MAIN?UPDATER_F02X(1000H)) I want to place this updater code very high in memory, about 4k below 128k, which would be bank 3, addr EFFF. How do I place it at bank 3, addr EFFF. Do I simply forget about the banks and specify the address as if there were no banks, as so? CODE(1F000H, ?PR?MAIN?UPDATER_F02X(1F000H)) I'm new at this kind of thing and would appreciate a response that takes this into consideration. BTW, I am using the Cygnal IDE and it crashes like very 10 minutes. Very annoying!
I read it. I tried the BANKx thing. I can put main() in say BANK3. But I want the WHOLE program, not just segments. How do I get the entire thing up there? I am using BL51.