This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

custom serial wire debug

Hi, As question "custom serial wire debug" date Jan 14 '14, I'm also interested in programming the chip from an other embedded chip (would fit our production process verry well).

Do you have information about how to do this?

After looking at data sent on DW when using the dev-board "nRF51 DK" i notice that different code seems to be written to ram @ 0x20000000..0x200004BF.

Is this code avaliable?

May I use it myself in an own construction targeting your chip (or do you consider the code your property and I may not use it)?

(Or even simpler, can I program through AHB-AP directly without using a ram algorithm.)

Parents
  • I already have a big ARM CPU that I want to program the nRF51822 from. This big cpu is controlled in production as is. I don't want to add more hardware, but rather use that CPU for programming.

    I'm not looking for hardware options

    I have 4 options:

    • Premade ram-algorithms from nordic that I may use (i can see the binaries downloaded in my DW-decoder hooked to the nRF51 DK, (but may I use these? How do they work?)
    • Access the flash manually (seems to be used for erase, see comment below, probably slow for writing)
    • Write algorithms myself (will take time, prefer if nordic has pre-made)
    • Abandon concept - makes production more complicated

    Snip from erase on "nRF51 DK"

    2,653111750,Bus,D76,W(AP-0xC) ACK DATA:0x00000001 Addr=0xC AP=0x0 DRW A=0x4001E50C
    2,654162875,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    2,655145500,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    2,656137000,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    ...
    2,695150625,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    2,696154000,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000001 Addr=0xC AP=0x0 DRW A=0x4001E400
    
Reply
  • I already have a big ARM CPU that I want to program the nRF51822 from. This big cpu is controlled in production as is. I don't want to add more hardware, but rather use that CPU for programming.

    I'm not looking for hardware options

    I have 4 options:

    • Premade ram-algorithms from nordic that I may use (i can see the binaries downloaded in my DW-decoder hooked to the nRF51 DK, (but may I use these? How do they work?)
    • Access the flash manually (seems to be used for erase, see comment below, probably slow for writing)
    • Write algorithms myself (will take time, prefer if nordic has pre-made)
    • Abandon concept - makes production more complicated

    Snip from erase on "nRF51 DK"

    2,653111750,Bus,D76,W(AP-0xC) ACK DATA:0x00000001 Addr=0xC AP=0x0 DRW A=0x4001E50C
    2,654162875,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    2,655145500,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    2,656137000,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    ...
    2,695150625,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000000 Addr=0xC AP=0x0 DRW A=0x4001E400
    2,696154000,Bus,D76,R(DP-RDBUFF) ACK DATA:0x00000001 Addr=0xC AP=0x0 DRW A=0x4001E400
    
Children
No Data
Related