Hi,
If the code is changing some flash area, because it uses that as an eeprom, I can't see the changes with GDB. I'm sure that the code is changed because I can see this with the webserver (the application of the embedded device).
I can see in the JLink log window that the memory is actually transferred from JLink to GDB.
Is this a GDB problem or is JLink caching and is giving the old content (flash breakpoint implementation perhaps???).
My network spy isn't working because this is happening all local, but perhaps this is something obvious what I'm missing here.
Update:
If I read the memory positions back with "monitor memu32" I also get the old memory content back. Perhaps JLink caching after all????
And I'm sure that the content is changed. If I reset and break at the checksum calculation which is used to check the eeprom, I can see that everything is there.
If the code is changing some flash area, because it uses that as an eeprom, I can't see the changes with GDB. I'm sure that the code is changed because I can see this with the webserver (the application of the embedded device).
I can see in the JLink log window that the memory is actually transferred from JLink to GDB.
Is this a GDB problem or is JLink caching and is giving the old content (flash breakpoint implementation perhaps???).
My network spy isn't working because this is happening all local, but perhaps this is something obvious what I'm missing here.
Update:
If I read the memory positions back with "monitor memu32" I also get the old memory content back. Perhaps JLink caching after all????
And I'm sure that the content is changed. If I reset and break at the checksum calculation which is used to check the eeprom, I can see that everything is there.
The post was edited 1 time, last by EmBlocks ().