Topic : RIDE - 8051 - View of actual Flash contents

Forum : 8051

Original Post
Post Information Post
August 15, 2007 - 11:29pm
Guest

I'm programming the Flash of a Silicon Labs MCU from an 8051-resident application. Is there any way to show the results of this Flash programming in the RIDE debugger? The code window shows what was downloaded to the MCU, but this display doesn't change when the Flash is reprogrammed by the embedded application.

regards Steven Pruzina

Replies
Post Information Post
+1
0
-1
August 16, 2007 - 2:48pm
Guest

Hi Steven,

are you using IAP to reprogram the Flash at runtime ? Can you send me a sample code that does not work?

regards
Lionel

+1
0
-1
August 16, 2007 - 5:44pm
Guest

Hello Lionel

The IAP is in top of Flash (0xF000 - 0xFFFF). I put it there with the RIDE debugger via Silabs JTAG and then ran it from the debugger. This IAP program then downloads another (50K) application from UART0, writes this into the bottom 60K (0x0000 - 0xEFFF) and then transfers control to that application. This application does run, so it's in there, in Flash. The RIDE debugger remained active during the download. Once thats done I halt the debugger and look in the 'Code View' window for the new application. Its doesn't show up; the window displays just the IAP code at 0xFFFF - 0xFFFF; it reads 0xFF's everywhere else.

I wouldn't expect the disassembly window to display anything sensible because the debugger has no entry point for the Flashed application. However it seems that the 'Code View' window doesn't refresh itself from the Flash contents

regards Steven

+1
0
-1
October 10, 2007 - 4:24pm
Guest

I have the same problem
In the SILAb IDE I can see the changging of the Flash

+1
0
-1
October 11, 2007 - 3:29pm
Guest

Hello,

we will try to modify the SiLabs driver to provide code view refreshes. For now, when the code itself modifies the FLash, the CODE memory space is not re-read from the chip, so the debugger is not warned about the change.

Lionel