Search found 6 matches
- Fri Feb 11, 2011 2:45 am
- Forum: MegaSquirt® Embedded Code
- Topic: Serial communications with MS II
- Replies: 3
- Views: 2416
Re: Serial communications with MS II
In principle, if you set bit 5 in SCICR1, and enable both the rx and tx bits (2 & 3) in SCICR2,
the chip should simply return any message it receives exactly as though you had bridged the corresponding pins
on the socket... but maybe it also ...
- Mon Jan 17, 2011 3:09 am
- Forum: MegaSquirt® Embedded Code
- Topic: custom MS-II code
- Replies: 5
- Views: 2850
Re: custom MS-II code
all of the flash.
Otoh, using the free version of CW it makes no difference to me, since I can only generate 32K of code. So even if I use the banked model,
I might as well ...
- Mon Jan 17, 2011 2:06 am
- Forum: MegaSquirt® Embedded Code
- Topic: custom MS-II code
- Replies: 5
- Views: 2850
Re: custom MS-II code
Glad it's not just me. For general information, I found the following Motorola app note (AN2216/D) which explains it relatively well:
http://www.datasheetarchive.com/AN2216 ...
- Sun Jan 16, 2011 12:59 pm
- Forum: MegaSquirt® Embedded Code
- Topic: How does AMC burn flash with engine running?
- Replies: 2
- Views: 2362
Re: How does AMC burn flash with engine running?
So typically, a 20ms glitch would be enough to lose synch to a toothed wheel, and an ign_reset will be needed before things can get back to normal ...
- Sun Jan 16, 2011 11:43 am
- Forum: MegaSquirt® Embedded Code
- Topic: How does AMC burn flash with engine running?
- Replies: 2
- Views: 2362
How does AMC burn flash with engine running?
Just a naive question as I try to understand how the microsquirt/MSII code (2.891) works.
I get the basic idea that there are two copies of the structs, one each in flash and ram
(haven't quite figured out how they are placed appropriately, but maybe when I eventually understand memory paging ...
- Thu Nov 04, 2010 10:55 am
- Forum: MegaSquirt® Embedded Code
- Topic: Updating .h etc files in project?
- Replies: 1
- Views: 487
Updating .h etc files in project?
I'm a noob, so please forgive some naivety...
I've just tried "make"ing the ver 2.891 code in the free version of Codewarrior 5.90
I get lots of undeclared variable and type mis-match errors. I fixed some of them by searching
the megamanual site and discovering that the timer variables pTC0 ...