2016年10月18日 星期二

AFS ReVersiNG


AFS ReVersiNG Guide


-working with MAZDA CX5、Cadillac ATS


STEP0. Hardware Analyze - connector defination、power line、data line…
STEP1. Use Linbus/Canbus Analyzer
STEP2, Stage by stage mining Linbus data records, in the meantime watch over AFS's action
  • ACC OFF
  • ACC ON
  • ENGINE START
  • TURN ON THE HEADLIGHT
  • GEAR SHIFT TO P/N/D/R/...
  • TURN WHEEL LEFT/RIGHT
  • TURN OFF THE HEADLIGHT
  • STOP ENGINE
  • ACC OFF
STEP3. Find out the valuable changing with wheel turning
STEP4. Figure out which record is writing and which is reading and what is there meaning
STEP5. Is there any initial progress at beginning ?
STEP6. Hardware implement
STEP7. Firmware implement
STEP8. Cut off KD module and replace with reversing one
  • Attention: Do not run to this step until you figure out the ECU's every read / write procedure
STEP9. See what happens :)


更高效處理 micro second 的方式

更高效處理 micro second 的方式…  以 STM32 為例… __IO unsigned long sys_tick = 0; void SysTick_Handler(void) {     HAL_IncTick();     sys_tick += (SysTi...