-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
> If I get watchdog sleep running OK I'll send some text and the code
> to add to your documentation if that's useful.
Everything that a bloody newby may understand immediatly is fine ;)
(I doubt that the watchdog is something in that cate
It works!
> TimeOuts @ .
0 ok
> decimal
ok
> 1s wdt=prescaler!
ok
> ?wdt.
wdt control&status = 6
ok
> &45 TimeOuts ! TimeOuts @ .
45 ok
> wdt!interrupt
ok
> TimeOuts @ .
29 ok
> TimeOuts @ . ?wdt.
15 wdt control&status = 46
ok
> TimeOuts @ .
0 ok
> ?wdt.
wdt control&status = 46
o
> ...
> A quick start: It's not rocket science. You need the dict_wl.inc
> included, load vocabulary.frt and assembler.frt from the lib directory.
> ...
> Matthias
I have loaded:
marker.frt
postpone.frt
vocabulary.frt
assembler.frt
multitask.frt
bitnames.frt
atmega328p.frt
misc.
Thanks to both Vladimir and Matthius for your input. I'll try and get it
all up and running on Monday.
If I get watchdog sleep running OK I'll send some text and the code to add
to your documentation if that's useful.
Cheers,
David
> ...can you give me a pointer on what to do with the
> assembler code that you posted?...
> ...
> David
You need to use "...\amforth-5.1\lib\assembler.frt"
Good luck!
moving forth,
Vladimir.
--
October Webinars:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
> Sorry for being dumb, but can you give me a pointer on what to do
> with the assembler code that you posted? I've never had to use
> assembler with forth before and can't find a page that describes
> what to do on the site.
You're righ
Sorry for being dumb, but can you give me a pointer on what to do with the
assembler code that you posted? I've never had to use assembler with forth
before and can't find a page that describes what to do on the site.
Many thanks for your help.
David
--
Fantastic. Looks as if this is just what I need. I'll give it a try.
Thanks,
David
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenM
> Message: 1
> Date: Sat, 12 Oct 2013 12:05:53 +0100
>From: David Wallis
> Subject: Re: [Amforth] Watchdog prescalers
> To: amforth-devel@lists.sourceforge.net
>
> ...
> ... I was keen to use the
>watchdog timer because it
> works with the lowest power mode (power down) and
>doesn't need exter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
On 10/12/2013 01:05 PM, David Wallis wrote:
>> Are you sure, you want to do this with the watchdog timer? Isn't the
>> watchdog timer only able to generate a reset?
>
>
> Thanks for your code Erich. I was keen to use the watchdog timer bec
>Are you sure, you want to do this with the watchdog timer? Isn't the
>watchdog timer only able to generate a reset?
Thanks for your code Erich. I was keen to use the watchdog timer because it
works with the lowest power mode (power down) and doesn't need external
components.
It seems to be a fa
Now it comes up again - i don't know what happened before ...
amforth 5.1 ATmega32
> 24 42 + .
66 ok
> 36 30 - .
6 ok
Thank You!
Now i must spend time to read the manual and expreiment with forth.
In a week i have holidays and this will be interesting ...
Cheers
Karsten
---
Hello David,
On 10/12/2013 11:13 AM, David Wallis wrote:
> Hi all,
>
> I'm trying to use the watchdog timer on an ATMega324P for power saving by
> sleeping for 8 seconds, and then having the watchdog wake the device.
> However, I'm struggling to set the prescaler flags in WDTCSR.
>
> According t
Hello Erich,
Am 12.10.2013 12:01, schrieb Erich Waelde:
> Hello Karsten,
>
> On 10/12/2013 10:53 AM, developm...@decotrain.de wrote:
>
> Well, attaching .hex files does not really help, imho.
> If you need to attach code, use the .asm or the .lst file(s).
Done this time.
>
>
> If amForth does no
Hello Karsten,
On 10/12/2013 10:53 AM, developm...@decotrain.de wrote:
> Hello,
>
> i am not as fast as i want, but today i could setup my
> Test-system with an ATMega32 developement board and AMForth. It
> does not run. :-( There is nothing transmitted over the RS232.
>
> First thing i wonder a
Hello,
for hardware security i tested that the communication with the UART works.
I wrote the attached "Hello world" with an additional counter output that works
perfect.
But when i program the Forth there comes nothing over the UART. :-(
I have no idea how to proceed?
Best regards
Karsten
--
Hi all,
I'm trying to use the watchdog timer on an ATMega324P for power saving by
sleeping for 8 seconds, and then having the watchdog wake the device.
However, I'm struggling to set the prescaler flags in WDTCSR.
According to the datasheet, the 'Change Enable' flag (WDCE) must be set to
change t
Hello,
i am not as fast as i want, but today i could setup my Test-system with an
ATMega32 developement board and AMForth.
It does not run. :-(
There is nothing transmitted over the RS232.
First thing i wonder about is when i convert the template.hex to a binary file:
$ hex2bin template.hex
hex
18 matches
Mail list logo