fenugrec

Results 137 comments of fenugrec

> Step 1 will be to write java code for USBtin to establish CAN comms with the ECU I admire your bravery - not much of a java guy myself....

> it might help with any future integration with RR Talk to dschultz before writing any java ... he should be able to direct you to the right areas of...

Good work. I've only skimmed the code so far, I'll have more questions later, but for a start - you're only checking mailbox 0 - have you disabled the other...

> uses CAN ID 0xFFFFE which will override every other CAN ID well that CANID is actually the second most low-priority ID, but if it has its own mailbox that...

Also, ``` static void can_cmd_dump(u8 *msg) { ....... while (len) { .... can_tx8bytes(txbuf); len -= pktlen; addr += pktlen; can_idle(750); } ``` I think you should get rid of that...

> Ah, yes. High ID = Low priority. I had it the wrong way round. I guess it's still possible that ID 0x21 is occasionally getting overruled by a lower...

> The bootloader in the ECU ROM. Ok, I don't follow. You're saying there's a CAN bootloader in the subaru ROMs ? what is its purpose if not for reflashing...

Also found a snippet of code in a SH7047 appnote : ``` ... while((HCAN_RXPR0 & 0x0001) != 0x0001); /* Wait for reception end */ MBbuff = HCAN_MB0.MD7; /* Store received...

> } > NPK_CAN.UMSR0.WORD = 1; > return -1; > } Probably should clear RXPR too before returning -1 ? > I can't figure out why the ROM would have...

Forget about "nc" until you get diag connect working. > nisprog> diag sr 0x81 0x58 0xFC 0x81 0x56 // Accidentally left the checksum value in the command You need to...