AnsweredAssumed Answered

Correction for ADI-cces-Linux-Add-in

Question asked by lukma on Sep 18, 2017
Latest reply on Sep 20, 2017 by Gregchen

Dear Analog,

 

[I've sent this message to processor.tools.support@analog.com, but I've been automatically asked to post this message here]


I would like to kindly ask you for considering following change in the document:

http://download.analog.com/tools/LinuxAddInForCCES/documentation/Linux_Add-in_User's_Guide-1.2.0.pdf


Page 16, caption: "Loading U-Boot With GDB"

After:

$ arm-none-eabi-gdb u-boot-sc589-ezkit
(gdb) target remote :3333


one could check if by any chance (like broken *.ldr binary) we are not in thumb mode.

This is a problem, since starting recovery binaries from this mode leads to abort.

As a remedy, one could force switching to ARM mode again (clear T bit in cpsr).

From (e.g.):
------------
(gdb) p/x $cpsr


$8 = 0x4000013f


To:
---
(gdb) set $cpsr = 0x1D3

And then follow instructions from the User's Guide.


Best regards,
Lukasz

Outcomes