Re: Sparkfun Pro nRF52840 Mini support?
Rodrigo Peixoto <rodrigopex@...>
Lawrence, Do you have the memory footprint detailed when using their bootloader?I would suggest you change the flash partition to fit the bootloader image size at the bootloader portion and the rest of the image after that. ```c++ ... chosen { zephyr,console = &uart0; zephyr,shell-uart = &uart0; zephyr,uart-mcumgr = &uart0; zephyr,bt-mon-uart = &uart0; zephyr,sram = &sram0; zephyr,flash = &flash0; zephyr,code-partition = &code_partition; }; ... &flash0 { /* * For more information, see: */ partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { label = "sparkfun_bootloader"; reg = <0x000000000 0x000XXXX>; // size of that }; code_partition: partition@XXXX { label = "image-0"; reg = <0x0000XXXX 0x0000YYYYYY>; // fit the rest of the memory remember the storage partion }; /* * The flash starting at 0x000f8000 and ending at * 0x000fffff is reserved for use by the application. */ /* Storage partition will be used by FCB/NFFS/NVS if enabled. */ storage_partition: partition@f8000 { label = "storage"; reg = <0x000f8000 0x00008000>; }; }; }; ``` Something like that. Answering your question: Of course my fallback plan is to use an external debugger (J-Link of some kind? Black Majic?). Is there a recommended external debugger I should use for nRF52840? I am using the JLINK with a tag connect plug (TC2030) to flash via SWD pins. west flash always works for me. I hope it helps. Best regards, Rodrigo Peixoto Co-founder and Technical advisor +55 (82) 98144-8585 http://ayna.tech | Skype: rodrigopex ![]() Em seg, 22 de abr de 2019 às 10:38, Lawrence King <lawrence.king@...> escreveu:
|
|