Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working after programming #78

Open
GhostDog98 opened this issue Dec 20, 2022 · 3 comments
Open

Not working after programming #78

GhostDog98 opened this issue Dec 20, 2022 · 3 comments

Comments

@GhostDog98
Copy link

I am using the bluefruit LE sniffer, after installing openocd, I make this config file:

source [find interface/stlink.cfg]
transport select hla_swd
source [find target/nrf51.cfg]

I then run:

> reset halt
target halted due to debug-request, current mode: Thread 
xPSR: 0xc1000000 pc: 0x00002c78 msp: 0x20003248
> nrf51 mass_erase
Mass erase completed.
A reset or power cycle is required if the flash was protected before.
> reset           
> reset halt
target halted due to debug-request, current mode: Thread 
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
> flash write_image firmware.hex
Flash write discontinued at 0x000007c0, next section at 0x00001000
Flash write discontinued at 0x00016918, next section at 0x00018000
Flash write discontinued at 0x00028510, next section at 0x0003c000
Padding image section 3 at 0x0003f874 with 908 bytes
wrote 172556 bytes from file firmware.hex in 3.566971s (47.242 KiB/s)

> verify_image firmware.hex
verified 171648 bytes in 1.201123s (139.557 KiB/s)

> exit
Connection closed by foreign host.

Despite this, once plugging in the device, I cannot see anything in /dev/ for new serial devices, making it impossible to run the tool.
I have tried doing this in both "switch" modes for the device
Upon connecting the device, i see the following in dmesg:

[221093.727301] usb 1-2: new full-speed USB device number 18 using xhci_hcd
[221094.074789] usb 1-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[221094.074795] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[221094.074797] usb 1-2: Product: CP2104 USB to UART Bridge Controller
[221094.074799] usb 1-2: Manufacturer: Silicon Labs
[221094.074800] usb 1-2: SerialNumber: 0232C4F7
@GhostDog98
Copy link
Author

GhostDog98 commented Dec 22, 2022

As per issue #21, I have tried to recompile the firmware, however, that is not working for me (error: 'str' object has no attribute 'decode') and as the yotta GitHub is depreciated, I'm unsure about if I could even get help with this.

I have also tried the programming instructions on that issue, with no success.

Incase it is of any significance, I am using the V3 of adafruits bluefruit LE sniffer.

@rahim8214
Copy link

I bought a microbit version 2.20, it was completely flashed, but after running -s it does not show any output. Help me please

@GhostDog98
Copy link
Author

I bought a microbit version 2.20, it was completely flashed, but after running -s it does not show any output. Help me please

This is unrelated to the current issue thread, maybe open another issue with more information instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants