Zephyr: Nordic PCA10059 support without additional Segger debugger

Created on 20 Jul 2018  Â·  18Comments  Â·  Source: zephyrproject-rtos/zephyr

A collection of pull requests (and issues) related to PCA10059 (Dongle) suport:

  • [x] Add add nrf52840_pca10059 board support ( #8812 )
  • [x] pawelzadrozniak#1 to be merged to #8787 .
  • [x] DNM Add nRF52840 USBD driver ( #8787 )
  • [x] MCUboot Erase flash pages progressively (https://github.com/runtimeco/mcuboot/pull/323)
  • [x] MCUboot nrf52840_pca10059 support ( https://github.com/runtimeco/mcuboot/pull/318 )
  • [x] Document how to use nrfutil to flash (https://github.com/zephyrproject-rtos/zephyr/pull/11002)

/cc @lemrey @nvlsianpu

Feature Boards nRF

Most helpful comment

All the required PRs have now been merged.
Thanks!

All 18 comments

@larsgk thanks for creating this.

cc @jhedberg

I'm stuck with a few of these dongles that I want to flash with zephyr, but I don't have an external debugger (yet). If I understand it correctly, once this is done, I can flash without an additional debugger but I would still need one in the first place to place mcu_boot on the target, right? Using DFU-flash is not sufficient?

@postlund there is an issue with the current USB driver that @pawelzadrozniak is looking into. I think then that @lemrey needs to update the documentation on the board in order to describe how to use Zephyr without an external debugger.

Perfect, thank you!

@postlund @larsgk can you retry with current master? a fix was just merged https://github.com/zephyrproject-rtos/zephyr/pull/10934

@lemrey it looks like all the features are in place for this now. We just need to document how to transition from the built-in bootloader to MCUboot in order for people to be able to use this without a debugger.

I can try when I get home

On Tue, Oct 30, 2018, 18:24 Carles Cufí notifications@github.com wrote:

@lemrey https://github.com/lemrey it looks like all the features are in
place for this now. We just need to document how to transition from the
built-in bootloader to MCUboot in order for people to be able to use this
without a debugger.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/issues/9055#issuecomment-434392122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA97lm1Io2xGx8xXt1Km82Z5qMjla8zDks5uqItSgaJpZM4VYCnH
.

Is there now a documentation how to replace the stock bootloader without jlink?

@tugstugi not yet, @lemrey is working on it and will report soon

image
Any idea why I can't get the hci_usb sample to work on this board? It appears to fail in the same way on both windows and linux. I'm uploading to the board via j-link and the blinky example works via this method

Hi @Xenoamor, on this board the default peripheral used for HCI over UART is a UARTE peripheral. At the moment we are fixing an issue in the UARTE driver which is preventing the hci_uart sample to work as intented. Could you please check if it works any better with this patch https://github.com/zephyrproject-rtos/zephyr/pull/11475 ?

Thanks, I'll give it a try when I'm back in the office tomorrow! Just to clarify that this is an issue I'm seeing with hci_usb and not hci_uart though

@Xenoamor so this is a completely different issue, not related to using this board without a debugger? Are you flashing using J-Link?

Sorry yes I'm using a J-Link and nrfjprog. Should I make a new issue for this?

@Xenoamor yes please, this is completely unrelated.

Thanks, I'll give it a try when I'm back in the office tomorrow! Just to clarify that this is an issue I'm seeing with hci_usb and not hci_uart though

Sorry @Xenoamor, I had misunderstood. What I said applies for HCI over UARTE.
Follow carlescufi's advice then and create a new issue.

All the required PRs have now been merged.
Thanks!

Was this page helpful?
0 / 5 - 0 ratings