ADUCM360 examples - no start when downloaded by bootloader

Need help? Post your issues and bugs here. We will try to fix them.
FAQs

1 post | Page 1 of 1


ZakyCZ

Posts: 1
Joined: 13 Nov 2015 10:48

ADUCM360 examples - no start when downloaded by bootloader
Postby ZakyCZ » 13 Nov 2015 11:13

Hello,

I´ve found the problem when downloaded Analog ADUCM360 blinky or uart rtd example by bootloader (using Analog´s cm3wsd utility). Program won´t start, Others say it works if downloaded by JLINK until restart, I don´t have JLINK thus cannot test it. It is caused by missing " .type Reset_Handler, %function " in startup as described here: https://ez.analog.com/thread/20644 , adding this solves the problem. Please update examples, it is not so nice, if simple example does not working.

There is also minor bug in Blinky, code is:

// Configure GPIO P1 for LED
GP1CON = 0x00000000; // all P1 pin as GPIOs
GP1OEN = (1 << 3); // enable P1.3 as output - LED

GP0PUL = (1 << 3); // enable P1.3 pull-up

GP0OUT = (1 << 3); // P1.3 OFF - LED

First two lines are config of port1, second two config of port0, should be

// Configure GPIO P1 for LED
GP1CON = 0x00000000; // all P1 pin as GPIOs
GP1OEN = (1 << 3); // enable P1.3 as output - LED

GP1PUL = (1 << 3); // enable P1.3 pull-up

GP1OUT = (1 << 3); // P1.3 OFF - LED

It does not affect blinky operation, because only first two lines are crucial.
Anyway thank you for emIDE, it is intuitive and easy to use IDE.

Top


1 post | Page 1 of 1


Jump to:


Who is online

Users browsing this forum: No registered users and 1 guest