Hi all, I am completely new to the keil environment. I have programmed arduino boards in the past. I just bought something called AtomWear from kickstarter. It is composed of an nRF51822qfaa MCU.
I have downloaded and installed both the uvision 4 and 5. The AtomWear people suggest using uvision 4 so that is what i'm doing.
When I load I get an error that the device is not found, but up next to the load button I can select it. When I go to options --> device I cannot find my device there but only a general nRF518xxxx. I can build successfully (no errors or warnings) but i can't udnerstand how to run this. I went through the manual of Keil and through the examples but after they build they always run via debug.
When I try to run via debug with my MCU I get an error that there is no J-Link connected (which i'm not really sure how I bypass without buying one - I never used one and all I know is it is used for debugging...)
Can anyone assist or give any insight? Thanks, Yoav
Well if you're not connecting via JTAG/SWD how are you connecting to the device?
The debugger's going to need some JTAG pod to control and download to the device. A U-Link or J-Link..
Do you have some other method supplied to download (not debug) code into the device? Say by downloading a .HEX file?
Hi, What I bought is the MCU on a board with a connection via a USB to the computer. I understand from your reply that the complier (build) doesn't upload it automatically like arduino... I believe I did see a .HEX file output after the build. That has to be uploaded via a J-link or U-link? Is there a way I upload it with the USB connection? Thanks
I think you need to check the documentation for your specific board.
A number of development boards that come with a USB connector has a USB-enabled boot loader pre-loaded in the processor, allowing firmware updates using the USB interface.
So while you don't get access to JTAG debugging with single-stepping etc, you still get all that is required to run own code.
ok I'll check. Thanks