Parpadeando nrf52 nórdico con FTDI

0

Tengo el , conectado a través de FT232RL FTDI y se produce un error cuando Intento subirle un archivo de firmware. Estoy usando PlatformIO en Atom. Siguiendo instrucciones en Comience con Arduino y Nordic nRF52-DK .

platform.ini

[env:nrf52_dk]
platform = nordicnrf52
board = nrf52_dk
framework = arduino
build_flags = -DNRF52_S132
lib_deps =
  BLEPeripheral
upload_protocol = blackmagic

El código se construye bien, pero la carga al Nordic falla.

Output

Configuring upload protocol...
AVAILABLE: blackmagic, cmsis-dap, jlink, mbed, nrfjprog, stlink
CURRENT: upload_protocol = blackmagic
MethodWrapper(["upload"], [".pioenvs/nrf52_dk/firmware.hex"])
Auto-detected: /dev/cu.usbserial-00000000
arm-none-eabi-gdb -nx --batch -ex "target extended-remote /dev/cu.usbserial-00000000" -ex "monitor swdp_scan" -ex "attach 1" -ex load -ex compare-sections -ex kill /Users/thomas/workspace/Arduino/ble-blink/.pioenvs/nrf52_dk/firmware.elf
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
"monitor" command not supported by this target.
Don't know how to attach.  Try "help target".
You can't do that when your target is 'exec'
Section .text, range 0x1c000 -- 0x1cbdc: matched.
Section .ARM.exidx, range 0x1cbdc -- 0x1cbe4: matched.
warning: One or more sections of the target image does not match
the loaded file
The program is not being run.
Section .data, range 0x1cbe4 -- 0x1d020: MIS-MATCHED!
    
pregunta Thomas

0 respuestas

Lea otras preguntas en las etiquetas