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

nRF52840 dongle erase flash by Raspberry Pi 3B+

I have problem with send hex on flash memory in dongle. I erase fllash than plug out dongle i know that i shuldn't but raspberry sey, he can't erase falsh. Dongle has 1.8V when i plug in usb. I cut SB2 and connect SB1 to external power 3.3V and try with raspberry again but i have some errors. Please help me. In internet i can't find solution.

openocd.cfg

# Raspi1 peripheral_base address
# bcm2835gpio_peripheral_base 0x20000000
# Raspi2 and Raspi3 peripheral_base address
#bcm2835gpio_peripheral_base 0x3F000000

# Raspi1 BCM2835: (700Mhz)
# bcm2835gpio_speed_coeffs 113714 28
# Raspi2 BCM2836 (900Mhz):
# bcm2835gpio_speed_coeffs 146203 36
# Raspi3 BCM2837 (1200Mhz): 
# bcm2835gpio_speed_coeffs 194938 48

# pi interfece
interface bcm2835gpio
bcm2835gpio_peripheral_base 0x3F000000
bcm2835gpio_speed_coeffs 194938 48
bcm2835gpio_swd_nums 25 24

# transport
transport select swd

# target
set CHIPNAME nrf52840
source [find target/nrf52.cfg]

# Uncomment & lower speed to address errors
 adapter_khz 800

init
targets
reset halt

Parents Reply Children
No Data
Related