Work in Progress

Specifics pertaining to the DEC

Work in Progress

Unread postby decipha » Mon Jul 15, 2013 10:17 pm

as many already know the DEC is a project that I've been working on for fun in my spare time whenever I get any

with that said its not high on the priority list so don't expect a release for a little while

I also just changed over from quad atmels 2560s to a single ARM so its been quite a transition
User avatar
decipha
Tooner
 
Posts: 13363
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce

Re: Work in Progress

Unread postby Shaker666 » Thu Oct 17, 2013 10:37 pm

ARM is pretty good. Is it a Cortex M3 or M4?
'89 supercharged 8.6:1 5.0 Mustang: EEC-IV (GUFB:A9L) with EDIS8
'79 Bronco: 8.5:1 408M EEC-IV (GUFB:X3Z) with EDIS8
'71 Mach 1: RIP
'66 Mustang GT: needs EFI
'00 Mountaineer: 9.15:1 302W EEC-V, EDIS, 4R70W stock
'08 Buell: 10:1 DDFI-3
User avatar
Shaker666
Power Poster
 
Posts: 412
Joined: Thu Oct 17, 2013 10:23 pm
Location: Tucson, AZ
Name: Manu "Shaker" Singh
Vehicle Information: '89 Mustang 5.0 LX Sport: blown 8.6:1 306 EEC-IV+EDIS8. Ported Vic Jr. heads, LMAF, Accufab 90mm TB, KB 2.2 Blowzilla w/Flowzilla, Deka 80s, AEM dual nozzle water injection, shorty stainless headers into 2.5" X-pipe, dual O2. A9L2 QH tuned.
Vehicle 2 Information: '79 Bronco Ranger XLT: 8.5:1 400 EEC-IV+EDIS8 ignition. Stock heads, LMAF, Ford 65mm TB, Cobra upper, 351W GT40 lower, Ford 24s. Full length headers with 1.75" primaries into 3" Y-pipe, single O2. TwEECed A9L.
Vehicle 3 Information: '71 Mustang Mach 1: Totalled
Additional Vehicles: '08 Buell XB12Ss Lightning: factory 10:1 motor with DDFI-3 control. Drummer exhaust, dual O2 mod, baro mod. DDFI-3 tuned via TunerPro RT.
'07 Mazda 3S: mainly stock, minor suspension and chassis reinforcements.
'00 Mountaineer: 9.15:1 302W EEC-V, integral EDIS8. Stock with exception of 1" TFS intake spacer, cold air intake, and Magnaflow exhaust.

Re: Work in Progress

Unread postby decipha » Thu Oct 17, 2013 10:57 pm

M3

84 mhz
96k sram
512k flash

...and running out of memory quick
User avatar
decipha
Tooner
 
Posts: 13363
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce

Re: Work in Progress

Unread postby Shaker666 » Fri Oct 18, 2013 9:07 am

96K of SRAM is pretty big, though. What compiler are you using? I found that IAR's Embedded Workbench produces binaries smaller and more optimized than GCC. However, with 512K of flash you can store a lot of constants in there instead of consuming SRAM. M3 doesn't have dedicated floating point hardware, but I guess that depends on the application. I used to program a lot of Luminary Micro chips, but we've moved to NXP since TI bought LM out and found a ton of issues with their stuff. LM's programming API and documentation was stellar, though.
'89 supercharged 8.6:1 5.0 Mustang: EEC-IV (GUFB:A9L) with EDIS8
'79 Bronco: 8.5:1 408M EEC-IV (GUFB:X3Z) with EDIS8
'71 Mach 1: RIP
'66 Mustang GT: needs EFI
'00 Mountaineer: 9.15:1 302W EEC-V, EDIS, 4R70W stock
'08 Buell: 10:1 DDFI-3
User avatar
Shaker666
Power Poster
 
Posts: 412
Joined: Thu Oct 17, 2013 10:23 pm
Location: Tucson, AZ
Name: Manu "Shaker" Singh
Vehicle Information: '89 Mustang 5.0 LX Sport: blown 8.6:1 306 EEC-IV+EDIS8. Ported Vic Jr. heads, LMAF, Accufab 90mm TB, KB 2.2 Blowzilla w/Flowzilla, Deka 80s, AEM dual nozzle water injection, shorty stainless headers into 2.5" X-pipe, dual O2. A9L2 QH tuned.
Vehicle 2 Information: '79 Bronco Ranger XLT: 8.5:1 400 EEC-IV+EDIS8 ignition. Stock heads, LMAF, Ford 65mm TB, Cobra upper, 351W GT40 lower, Ford 24s. Full length headers with 1.75" primaries into 3" Y-pipe, single O2. TwEECed A9L.
Vehicle 3 Information: '71 Mustang Mach 1: Totalled
Additional Vehicles: '08 Buell XB12Ss Lightning: factory 10:1 motor with DDFI-3 control. Drummer exhaust, dual O2 mod, baro mod. DDFI-3 tuned via TunerPro RT.
'07 Mazda 3S: mainly stock, minor suspension and chassis reinforcements.
'00 Mountaineer: 9.15:1 302W EEC-V, integral EDIS8. Stock with exception of 1" TFS intake spacer, cold air intake, and Magnaflow exhaust.

Re: Work in Progress

Unread postby decipha » Fri Oct 18, 2013 10:39 am

im using the AVR compiler same as the atmel on the quarterhorse

at this point it would be more of a headache than its worth for me to change compilers but if i do run out of memory i'll definitely look into it, I'm not too worried about memory just yet since i don't foresee having too much more memory intensive code left, the two largest memory hogs are the gps/navigation coding and the wireless coding for the ieee interface, right now im working out bugs (mostly incompatible memory structure mathematics) and making the code much more efficient, it has been working out pretty well though, currently I have a complete loop occurring about every 5000 microseconds (200 - 210 hz) which is pretty darn fast as compared to say a GUFB ecu which loops about every 36,000 microseconds (from what i gathered from sailorbob, he sent me some logs that chris grey made for him a while back when he was doing some testing for him), which says alot considering i'm using about 10x as much memory with only 6x the processing power

i don't use any floating points for efficiency purposes so its no biggie, i met the main programmer for i want to say motec or some other ecu, but anywho they used texas instrument IC's at the time and he said if he could do it again he wouldn't have used them, he didnt tell me why though and i didn't ask but he said he told me to stay clear of them for ecu's

i have a lot of volatile variables since just about anything can be dynamically altered during an interrupt so i use a good bit of ram, just about any variable can chang at any given time
User avatar
decipha
Tooner
 
Posts: 13363
Joined: Mon Jul 15, 2013 5:29 pm
Location: New Orleans, LA
Name: Michael Ponthieux
Vehicle Information: Supercoupin' x10
90 (4x 5spds) - Dante, Ruby, Daja, Ava
91 4r70w - Skarlett
92 (2x) 5spd & auto - Bianqa, Andrea
93 auto - Danika
94 5spd Rionda
95 auto Aisha
Vehicle 2 Information: Others:
00 Lincoln LS - Luanda
98 Camaro SS - Bounquisha
02 Harley F-150 - Sasasha
03 Marauder - DyShyKy
00 Explorer 5L - Bernyce


Return to Dynamic Efficiency Cognitive

Who is online

Users browsing this forum: No registered users and 1 guest