Search found 26 matches
- Fri Jun 05, 2009 12:02 am
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
Re: XGATE
suddenly realized (obvious, don't laugh) that we can just run it out of flash in the short term. Running from flash sounds like a good way to start. We may not need the speed from running from ram anyway. If I've demotivated you by taking so bloody long, please tell me that too. Don't worry about d...
- Fri Mar 13, 2009 6:11 pm
- Forum: FreeEMS Firmware Dev
- Topic: Sync Injection Proposal
- Replies: 8
- Views: 12073
Re: Sync Injection Proposal
I would also like to see what you have done.
Philip
Philip
- Tue Mar 10, 2009 3:42 am
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
Re: XGATE
I think you are on the right track thinking the XGATE could be used for # ECT config and ISRs (fuel channels) # PIT config and ISRs (ign and staged channels) If we used the XGATE to set up PWMS for fuel and to set up PIT for ignition would we have enough hardware to do sequential fuel and cop on a V...
- Thu Mar 05, 2009 11:23 pm
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
Re: XGATE
Thanks Fred,
Philip
I am sure there will be some problems. I am just looking for someplace to start learning how to get XGATE code running.I'm not sure how that will work. You might find that it doesn't work well with other ISR code doing stuff under it.
Philip
- Thu Mar 05, 2009 3:07 am
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
Re: XGATE
I used Cosmic's free eval compiler to compile Fred's commsISRs.c into XGATE code. It compiled into about 825 bytes. If there was a segment of ram assigned to run it out of (hint hint), I could see if runs.
- Sat Feb 28, 2009 7:10 pm
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
Re: XGATE
I like the idea of using some external assembler or compiler and then translating the output to an array that we can put in the gcc code. I have found two ways to assemble code, The James binutils and the Perl assembler. I did manage to setup James binutils, call it from the makefile and build some ...
- Sat Feb 28, 2009 3:18 am
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
Re: XGATE
This is from page 291 of MC9S12XDP512RMV2.pdf The recommended initialization of the XGATE is as follows: 1. Clear the XGE bit to suppress any incoming service requests. 2. Make sure that no thread is running on the XGATE. This can be done in several ways: a) Poll the XGCHID register until it reads $...
- Fri Feb 27, 2009 12:56 am
- Forum: FreeEMS Firmware Dev
- Topic: XGATE
- Replies: 18
- Views: 24527
XGATE
I have been spending some time learning about XGATE, and think that I understand how set up and use it. It turns out that XGATE must run out of ram. The x12 must copy the XGATE code from flash to ram before the XGATE program can be run. This brings up the question, “Can we allocate a block for fla...
- Sun Feb 15, 2009 6:55 pm
- Forum: FreeEMS General
- Topic: Git Pecha Kucha Presentation by Fred
- Replies: 4
- Views: 6705
Re: Git Pecha Kucha Presentation by Fred
Ha Ha! Fred wares a tie at work.
- Mon Feb 09, 2009 1:22 am
- Forum: FreeEMS Firmware Dev
- Topic: Phil's missing teeth decoder dev thread
- Replies: 29
- Views: 38639
Re: Phil's missing teeth decoder dev thread
It's pushed.
Now to grab your new stuff and figure out some this spark and squirt stuff.
Now to grab your new stuff and figure out some this spark and squirt stuff.