Sorted. The app sends a 2's complement checksum and the BL is using a simple rolling byte adder. The Release Notes for v14 (which I am NOT using) mentions something about a "crc" fix... v0.14.x (jan 2021) ------------------- PC Software: Added new config option to improve performance. Select Force block transfer to send data in blocks, not, byte by byte. Added EEPROM 18f write operations now support 18fxxq10,18fxxq41, 18fxxq43 Fix to CRC calculations <--THIS BTW it is a CHECKSUM being employed here,...
Evan Thanks for your reply. It's not a boot time issue, so the memory map concerns aren't a factor in the matter at hand. I've used TinyBL (the Claudiu build) on other projects since 2009 so I do understand how to set it all up and use it properly. The CONFIG block in the BL is lifted from my application code; this is not a concern. Yes I set PPS as required, same as in my application code, in which I employ the USART and that works fine. And Rx DOES work in the BL, as evidenced by the response to...
Evan Thanks for your reply. It's not a boot time issue, so the memory map concerns aren't a factor in the matter at hand. I've used TinyBL (the Claudiu build) on other projects since 2009 so I do understand how to set it all up and use it properly. The CONFIG block in the BL is lifted from my application code; this is not a concern. Yes I set PPS as required, same as in my application code, in which I employ the USART and that works fine. And Rx DOES work in the BL, as evidenced by the response to...
Hi, I modified the original from Dan's FWUpdate_8 zip archive (Dan_tinybld16F1614-1615-1618-1619_int16MHz_19200_r1.asm) I used Device Type 0x27 (not 0x28) because the PIC16F16xx are HEF, not EEPROM At first, Check Device would fail. I then found the TXREG value was incorrect (line 203) retlw B'00010010' ;select TX for this processor, it needs to be retlw B'00000110' ;select TX After that change, some progress. Check Device is OK... Checking device Open COM12 serial port at 19200 Baud Rate Hardware...