[SOLVED] AllWinner A13?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] AllWinner A13?

    J-Link correctly identifies an Olimex A13 board as containing an A8 core. However 'reset' and friends do not appear to do the right thing. In the light of Alex's extremely helpful Beaglebone answer, is there some similar magic for the A13?

    BR.
  • Hi,

    My guess: The reset connection on the board is crap...
    Would not be the first board on which the reset is not wired correctly and will not be the last one.

    What behavior do you see?
    What do you mean with "and friends"? What else is not working?


    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Thanks Alex,

    Here is the trace when connecting:


    Feature(s): FlashBP, GDB
    VTarget = 3.371V
    Info: Could not measure total IR len. TDO is constant high.
    Info: Could not measure total IR len. TDO is constant high.
    No devices found on JTAG chain. Trying to find device on SWD.
    No device found on SWD.
    Did not find any core.
    Failed to identify target. Trying again with slow (4 kHz) speed.
    Info: TotalIRLen = 4, IRPrint = 0x01
    Info: ARM AP[0]: 0x44770001, AHB-AP
    Info: ARM AP[1]: 0x24770002, APB-AP
    Info: Found Cortex-A8 r3p2
    Info: 6 code breakpoints, 2 data breakpoints
    Info: Data endian: little
    Info: Main ID register: 0x413FC082
    Info: Cache Type register: 0x82048004
    Info: System control register:
    Info: Instruction endian: little
    Info: Level-1 instruction cache enabled
    Info: Level-1 data cache enabled
    Info: MMU enabled
    Info: Branch prediction not supported
    Found 1 JTAG device, Total IRLen = 4:
    #0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
    Cortex-A8 identified.

    If I reset we see this (ad infinitum)


    Reset type NORMAL: Toggle reset pin and halt CPU core.
    Info: Could not measure total IR len. TDO is constant high.
    Info: Could not measure total IR len. TDO is constant high.
    Info: Could not measure total IR len. TDO is constant high.
  • Hi,

    We ordered such a board and will take a look at this problem when the board arrives here.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi,

    Sorry, seems I forgot to update this thread...
    The reset on the board / device is not wired correctly and also resets the debug logic, making it impossible to halt the device immediately after reset.
    Anyhow, we have improved the behavior, so J-Link does not lose the communication to the device after reset.

    This improvement is included in V4.86a:
    segger.com/jlink-software.html

    No need to select the device. This is a generic improvement for Cortex-A/R based devices.


    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.