You are here

NRF5X SWD Prog detection broken, always detects NRF52832 512K/64K

2 posts / 0 new
Last post
zippy
Offline
Last seen: 4 months 3 weeks ago
VESC Free
Joined: 2021-05-28 22:27
Posts: 3
NRF5X SWD Prog detection broken, always detects NRF52832 512K/64K

I've spent hours trying to get my BT module flashed and working. Using the SWD Prog functionality with a Little FOCer. Connect the module to SWD pins, click "Connect NRF5X", it shows "Target: NRF52832 512K/64K", even though it says NRF51822 on the module itself. Go flash a NRF51822 firmware anyway, it flashes successfully. Connect module via UART, doesn't work. Bought a couple more modules... no luck.

Just now I have found out I can unplug the module from the SWD pins, and it still detects the above and I can still successfully flash the firmware with no module connected at all.

/cry

EDIT: To clarify, this is my first experience with VESC and DIY electronics in general, so I'm not sure at all what's the normal behavior. Not sure I'm doing something wrong but it would seem there's an issue somewhere if the detection and flashing appears to be doing something while it's not...

zippy
Offline
Last seen: 4 months 3 weeks ago
VESC Free
Joined: 2021-05-28 22:27
Posts: 3

Alright, turns out clicking on "Connect NRF5X" connects to the internal module. In my defense, I am also connecting to NRF5X. At the beginning "Connect" wasn't working and I just didn't read the popup.

Could the button possibly be renamed to "Connect internal BLE" or something? The name is misleading...