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

Can I use USB in a bootloader on the nRF52840?

Before I try something which is technically impossible....

Does anyone know if the USB functions on the nRF52840 would work in the bootloader, or only in the application?

Parents
  • The USB UART example does work, as an application, and in another thread someone is using BLE as well as USB (though they initially had some issues getting it to work)

    But I wondered if there was anything specific about the USB stack and interrupts, or just the size of the USB code which would preclude it being used in a bootloader.

    From what I recall, the application start address can be modified if the bootloader needs to be bigger, but if I"m not correct, I suspect this may not be possible

Reply
  • The USB UART example does work, as an application, and in another thread someone is using BLE as well as USB (though they initially had some issues getting it to work)

    But I wondered if there was anything specific about the USB stack and interrupts, or just the size of the USB code which would preclude it being used in a bootloader.

    From what I recall, the application start address can be modified if the bootloader needs to be bigger, but if I"m not correct, I suspect this may not be possible

Children
No Data
Related