|
|
| Author |
Message |
pdubinsky
Joined: 25 Nov 2005
Posts: 66
Location: South Carolina
|
|
Posted: 19 December 2009, 16:42 PM Post subject: Natvie Mode Start |
|
|
I have no experience using the ZX24N so here goes:
I've written a simple "hello world" program which compiles, loads and runs fine. However, when I power off and then power on the 24N, the program will not run until I press the reset key on the breakout board. I know this must be something obvious but it's got me stumped.
| Code: |
Public Sub Main()
dim m as integer
m = 1
while m > 0
debug.print "hello world!"
wend
end sub
|
Tia,
Paul |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 19 December 2009, 18:07 PM Post subject: Re: Natvie Mode Start |
|
|
| pdubinsky wrote: | | [W]hen I power off and then power on the 24N, the program will not run until I press the reset key on the breakout board. | I've never seen similar behavior. Does the same issue occur with a ZX-24a or ZX-24p?
I suppose that it could be an issue with slowly rising power. Is the ZX-24n being powered with 5 volts directly or using the on-board regulator? Whichever it is, you might try the other method of powering it.
Also, you might try adding a capacitor to the reset line, perhaps 47uF or 100uF. This capacitor will be charged via the on-board 10K pullup resistor, keeping the device in reset a while longer after power up. |
|
| Back to top |
|
 |
pdubinsky
Joined: 25 Nov 2005
Posts: 66
Location: South Carolina
|
|
Posted: 19 December 2009, 18:22 PM Post subject: |
|
|
I tried the same code on 2 other 24N's and they execute properly. I'll try your suggestions on this one and get back to you.
Happy Holidays,
P |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 20 December 2009, 0:15 AM Post subject: |
|
|
| pdubinsky wrote: | | I tried the same code on 2 other 24N's and they execute properly. | If the one behaves differently under identical circumstances it is likely that there is something wrong with it. If that is the case we'll replace it, of course. |
|
| Back to top |
|
 |
|