2013-07-28 10:53 PM
Hi all,
I am working on STM32F407ZET6 controller. I am facing problems after downloading code into the controller, it shows some error messages. When i download my code into the controller using J-Link and when i press on RUN icon in IAR Embedded work bench then it shows following errors:1. Write to IR: Expected 0x1, got 0xf( TAP Command: 10)@ off 0x5. Session aborted.Sometimes it gives me an error like,2. Core is locked up, can not halt CPUSo can anyone please tell me what might be the reason of those errors and how can i solve that?Thanks & Regards,Jonam2013-07-29 04:45 AM
Look at what you're doing early in your code. Things like reprogramming GPIO's associated the JTAG/SWD, putting the core in to low power modes, iterating in WFI loops, etc.
2013-07-30 03:58 AM
Hi Clive1,
I have tried the same code with another hardware and it is working fine. But my first board consistantly showing me that error msg cpu is halted. So there is any hardware related issue or what?2013-07-30 05:50 AM
How about mass erase of core and then upload a blinky LED one for check?
2013-07-30 05:58 AM
I don't know much about your board.
I'd start by looking at the supplies, analogue and digital, the voltages on the core and VCAP. Then I'd look at the reset and JTAG connectivity.