Good day to everybody!
My device has C8051F340 MCU on board. I have project that is strange. E.g 5 times app starts - on 6th time it doesn't and so on.
Project architecture is Bootloader + App: Bootloader's BLMisc: CODE(0x0-0x05FF, 0xF200-0xF3FF, 0xFA00-0xFBFE, ?CO?FXXX_TARGETBL_INFOBLOCK(0xFBEC))
App's BL51 Misc: CODE(0x0600-0xF1FF, 0xF400-0xF9FF, ?CO?I_SETTINGS(0xF500), ?CO?R_SETTINGS(0xF600), ?CO?FXXX_INFOBLOCK(0xF9E7))
App's C51: INTVECTOR(0x0600) INTERVAL(3)
Keil version V4.14.16.0.
Behavior: I can check leds and control points to understand whether it behaves right or not. The previous version of project works stable. Then I start to remove uncalled functions not changing the logic much. Of course the new map file is linked differently but may be that is why it works bad. I feel that because of settings.
Any ideas? Thanks in advance!
Best regards, Sergey Nelyub
with the '340 you have full debug, does it always start in debug?
I have several dozens of identical devices that I switch on at once. So it's rather difficult to 'catch the bug' in the debug mode because it's unclear what device will misbehave. I could only connect USB Debug Adapter to one of them.