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

Warn : Unknown device (HWID 0x00000084) #1

Open
matthiasbock opened this issue Aug 27, 2015 · 3 comments
Open

Warn : Unknown device (HWID 0x00000084) #1

matthiasbock opened this issue Aug 27, 2015 · 3 comments

Comments

@matthiasbock
Copy link
Member

$ openocd -f openocd.cfg -c "program main.bin 0x0; verify"
Open On-Chip Debugger 0.10.0-dev-g8590315 (2015-08-20-20:37)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : FTDI SWD mode enabled
Warn : Transport "swd" was already selected
cortex_m reset_config sysresetreq
adapter speed: 1000 kHz
Info : clock speed 1000 kHz
Info : SWD IDCODE 0x0bb11477
Info : nrf51.cpu: hardware has 4 breakpoints, 2 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread 
xPSR: 0xc1000000 pc: 0x00012b98 msp: 0x20001c48
** Programming Started **
auto erase enabled
Warn : Unknown device (HWID 0x00000084)
...
@matthiasbock
Copy link
Member Author

diff --git a/src/flash/nor/nrf51.c b/src/flash/nor/nrf51.c
index 7c2fa13..704333b 100644
--- a/src/flash/nor/nrf51.c
+++ b/src/flash/nor/nrf51.c
@@ -237,6 +237,12 @@ static const struct nrf51_device_spec nrf51_known_devices_table[] = {
                .flash_size_kb  = 256,
        },
        {
+               .hwid           = 0x0084,
+               .variant        = "QFAC",
+               .build_code     = "A1",
+               .flash_size_kb  = 256,
+       },
+       {
                .hwid           = 0x007D,
                .variant        = "CDAB",
                .build_code     = "A0",

@matthiasbock
Copy link
Member Author

Patching and recompiling openocd solves the issue.

TODO: The openocd developers should be informed about this patch...

@matthiasbock
Copy link
Member Author

Paul Fertser requested a commit to Gerrit:
=> http://openocd.org/doc/doxygen/html/patchguide.html

@matthiasbock matthiasbock reopened this Oct 5, 2015
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

1 participant