Firmware Specific Serial Communication Draft/Discussion

Official FreeEMS vanilla firmware development, the heart and soul of the system!
Post Reply
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Firmware Specific Serial Communication Draft/Discussion

Post by Fred »

This thread is to lay out what types of packets will be able to be sent to the EMS from a PC. Various functions need to be handled in a clean way without exposing memory access to the world. I'll start a list. Feel free to post any additions, ideas, questions, suggestions, etc.

Adjust values in ram for main tables :
  • Replace Main Table (page (0 - 3), table (0 - 3), DataBlock) OR
  • Replace Main Table (tableID (0 - 15), DataBlock) (same variation on each)
  • Adjust Main Table Value (page (0 - 3), table (0 - 3), X, Y, Value)
  • Adjust Main Table X Axis Value (page (0 - 3), table (0 - 3), Index, Value)
  • Adjust Main Table Y Axis Value (page (0 - 3), table (0 - 3), Index, Value)
Adjust values in ram for small tables :
  • Replace Full SmallTables Block (0 - 8) OR (0/1, 0-3)
  • Replace 2d Table (identifier of some sort)
  • Adjust 2d Table Value (ID, Index, Value)
  • Adjust 2d Table Axis Value (ID, Index, Value)
Burn directly to flash :
  • Burn Down Fixed Config One (DataBlock)
  • Burn Down Fixed Config Two (DataBlock)
  • Burn Down IAT Table 1/2 (DataBlock)
  • Burn Down IAT Table 2/2 (DataBlock)
  • Burn Down CHT Table 1/2 (DataBlock)
  • Burn Down CHT Table 2/2 (DataBlock)
  • Burn Down MAF Table 1/2 (DataBlock)
  • Burn Down MAF Table 2/2 (DataBlock)
Instruct ram to be burned down to flash :
  • Burn main table down (identifier)
  • Burn small table block down (identifier)
Fetch instructions :

More to come tomorrow some time.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Firmware Specific Serial Communication Draft/Discussion

Post by Fred »

This is hopelessly out of date already, see the code and/or docs with the code to determine what it does and how.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply