Hello,i'm using the EC5 and c8051f310,i want to implement a iap master,whose code contains the slave app code(for test). Then i use hex2bin and bin2hex to combine the iap master code and slave's app code.Yeath,it works greatly. But when i using the EC5 debugger to program the combined code, it still only programmed the code before combination.Why?Can anyone pls help me? My project's name is test and the hex file after combination is test.hex.
chris
1) it is considered good etiquette to mention it whebn you vross-post. this is cross-posted at the SILabs forum
I gather that you have a bootloader and an application and am trying to debug either.
I do not, because of the many problems, use Keil for debugging, but use the SILabs code directly, so whether this applies when going through Keil I do not know.
your post is a bit fuzzy, but maybe this is it: you want to debug the app when started through the bootloader. The debugger will be 'unaware' of the other part
To debug the bootloader, you need to load the app and then the bootloader .omf
To debug the app, you need to load the bootloader and then the app .omf
Erik
re problems, using Keil for debugging: finding the SILabs and Keil software "in synch" is a pain in the largest muscle.