I am trying to implement openthread cli uart in pca10059, have made all modifications but the hex file is not getting burnt in bootloader mode using nrfconnect
I am trying to implement openthread cli uart in pca10059, have made all modifications but the hex file is not getting burnt in bootloader mode using nrfconnect
Hello,
I have handled a couple of cases with porting issues from pca10056 to pca10059 earlier, so I'll have a look at this ticket.
Can you please read through this ticket:
https://devzone.nordicsemi.com/f/nordic-q-a/63190/hardfault-error-in-porting-thead-example-with-softdevice-from-pca10056-to-pca10059
As there may be some relevant information here. It is a bit long, but there is some relevant information regarding flash addresses and the pca10059 bootloader that I think you should know about.
I am not sure what you have done. Have you erased the bootloader? If so, have you read this blog post:
It contains some important information on the supply voltage registers that are needed to run the nRF52840 dongle on 5V. If you have erased the bootloader, you may need to do some HW fixes in order to program it again, depending on what debugger you are using.
Read through the ticket from the link and the blog post. It should contain all the information that you need.
Another thing to keep in mind is that the UART pins are not connected to anything on the dongle (on the DK they are routed to the programmer). When you have a floating UART RX pin it may lead to a COMMUNICATION_ERROR event that is typically passed onto the error handler. You should see this if you are able to debug using the debugger (which I understand that you have).
You said: " I used jlink to burn the program in pca10059, but later the device not get recognised in rx connect"
Do you mean nRF Connect?
Does it blink red if you press the reset button? This will only work if you have not erased the preflashed bootloader. If not, you will have to write your own bootloader in order to get it to work with nRF Connect again.
And lastly. What is your purpose. Do you not have an nRF52840 DK, and is this why you want to port it to the dongle? I usually do not recommend this, because you will spend more time doing this than it is worth compared to buying a DK. The DK comes with an on board debugger.
But if you already have a debugger, perhaps you are running into some other issues.
I am not quite sure exactly what your issue is. Does the application run? Did you erase the bootloader? Have you tried debugging? How does it behave?
Best regards,
Edvin
Hello,
I have handled a couple of cases with porting issues from pca10056 to pca10059 earlier, so I'll have a look at this ticket.
Can you please read through this ticket:
https://devzone.nordicsemi.com/f/nordic-q-a/63190/hardfault-error-in-porting-thead-example-with-softdevice-from-pca10056-to-pca10059
As there may be some relevant information here. It is a bit long, but there is some relevant information regarding flash addresses and the pca10059 bootloader that I think you should know about.
I am not sure what you have done. Have you erased the bootloader? If so, have you read this blog post:
It contains some important information on the supply voltage registers that are needed to run the nRF52840 dongle on 5V. If you have erased the bootloader, you may need to do some HW fixes in order to program it again, depending on what debugger you are using.
Read through the ticket from the link and the blog post. It should contain all the information that you need.
Another thing to keep in mind is that the UART pins are not connected to anything on the dongle (on the DK they are routed to the programmer). When you have a floating UART RX pin it may lead to a COMMUNICATION_ERROR event that is typically passed onto the error handler. You should see this if you are able to debug using the debugger (which I understand that you have).
You said: " I used jlink to burn the program in pca10059, but later the device not get recognised in rx connect"
Do you mean nRF Connect?
Does it blink red if you press the reset button? This will only work if you have not erased the preflashed bootloader. If not, you will have to write your own bootloader in order to get it to work with nRF Connect again.
And lastly. What is your purpose. Do you not have an nRF52840 DK, and is this why you want to port it to the dongle? I usually do not recommend this, because you will spend more time doing this than it is worth compared to buying a DK. The DK comes with an on board debugger.
But if you already have a debugger, perhaps you are running into some other issues.
I am not quite sure exactly what your issue is. Does the application run? Did you erase the bootloader? Have you tried debugging? How does it behave?
Best regards,
Edvin
thank you