Problem with UM-B-014 steps

3 posts / 0 new
Last post
errol
Offline
Last seen:5 years 3 months ago
加入:2014-03-08 08:32
Problem with UM-B-014 steps

Hi,

I have a problem following the user manual.

When I click on the J-Link settings, step 4.4.1.4, my uVision crashes.

After a lot of messing around, I found that nothing is selected on the Device tab of the Target Options page.

After selecting ARMCM0, all the other settings are reset to default. I have to reset the ram/rom and flash settings.

After this I can select J-Link as debugger and get into J-Link settings to select SWD.

I can theoretically then download to the device via J-Link, but nothing works. If I download the image via SmartSnippets-Uart Bootloader then it works...

Am I missing a setting?

Thank you,
Errol

JE_Dialog
Offline
Last seen:1 day 18 hours ago
工作人员
加入:2013-12-05 14:02
Hi Errol,

Hi Errol,

We have found that on some PC’s Keil 5 IDE crashes when setting / using the debugger.

There is no good explanation why the Keil 5.x IDE crashes on some PC's. To 'fix' this problem you can do the following:
1/ Start Keil IDE
2/ Press Alt-F7 (Options for target)
3/ Select the Tab 'Device'
4/ Select ARM -> ARM Cortex M0 -> ARMCM0 and press 'OK'
5/ Go to TAB 'Utilities' and check the line : 'Use External Tool for Flash programming'
6/ Close

Thanks & BR
JE_Dialog

errol
Offline
Last seen:5 years 3 months ago
加入:2014-03-08 08:32
Hi JE_Dialog,

Hi JE_Dialog,

I did this, see my previous post. But when I select ARMCM0, then all the settings in the other pages are reset, such as memory ranges and flash programming algorithms.

I have tried to copy the settings before selecting ARMCM0 and reconfiguring everything, but I must be missing something as the hardware doesn't act the same when loading the program via JLINK as when loading the program via UART Bootloader.

Thank you,
Errol