Pages: [1]   Go Down
Author Topic: what does RESET actually do  (Read 450 times)
0 Members and 1 Guest are viewing this topic.
Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok background
I have my own 'duino clone
all seems to work fine
loaded blink sketch
LED blinks
so far so good

the sketch starts by setting the LED on for 1 second in setup()
then sends SOS in morse code
ok it's silly but that isn't the question

when I hit the reset button (which hold RESET signal low)
I get a couple of flashes on the LED, then 1 second on, then morse code sequence starts

is this expected behaviour?

(well I didn't expect it!)
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 206
Posts: 12847
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe.  If the processor has a bootloader installed.
Logged

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

it thinks it's a UNO - does that make a difference?

I have seen that various boot loaders are available - how do you tell which one you have?
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Scotland
Offline Offline
Edison Member
*
Karma: 25
Posts: 1308
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Mike - Yip, if you got a boot-loaded chip - Its just a 'Hello, I'm working' flash from the boot-loader - After a second of not getting relevant data on the UART/SERIAL port at runs the installed sketch.

Drew
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

phew - that's a relief!

it looked like it was running the "S" part of my morse code sketch - bizarre I thought

now I know - cheers Drew & CodingBadly
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Pages: [1]   Go Up
Jump to: