Re: [jallib] Just Another PIC Programmer (JAPP) update

2024-09-18 Thread vasi vasi
If the python script uses only "console" functions, it can be compiled into an executable file. I know there are compilers for python... at least, Linux and Windows. On Wed, Sep 18, 2024 at 8:01 PM Rob CJ wrote: > Hi Vasile, > > Initially the charge pump was connected to 5 Volt but due to the fa

Re: [jallib] Re: searching for procedures in jal lib files

2024-09-18 Thread Rob CJ
Hi Vasile, You can search for keywords in all JAL libraries I assume. But swapping can be done simpler I think. For example. var word crc_in var byte crc_in_low at crc_in var byte crc_in_high at crc_in + 1 var word crc_out var byte crc_out_high at crc_out var byte crc_out_low at crc_out + 1 crc

[jallib] Re: searching for procedures in jal lib files

2024-09-18 Thread vsurducan
var byte LSB_crc, MSB_crc procedure swap_LSB_MSB (word in crc, word out swapped_crc) is -- When the CRC is placed into the message, its upper and lower bytes must be swapped crc_lo; crc_hi LSB_crc = byte (crc & 0x00ff) crc = crc >> 8 MSB_crc = byte (crc) swapped_crc = 256*LSB_crc + MSB

Re: [jallib] Just Another PIC Programmer (JAPP) update

2024-09-18 Thread vsurducan
One more: why have you used 3.3Vfor the charge pump of the programming voltage since the main supply is 5V ? Perhaps it's not very practical to reduce voltage from 5V to 3.3V and then increase it (3.3V to Vpp) to dissipate on LDO all the switching energy required for Vpp, even if it works. On Wed

[jallib] searching for procedures in jal lib files

2024-09-18 Thread vsurducan
I think this topic was previously discussed a long time ago... How can I search for a specific procedure ( for example swapping bytes in a word) in order to find different types of implementation (for lower code length, etc)? thx, procedure swap_LSB_MSB (word in crc, word out swapped_crc) is -- Wh

Re: [jallib] Just Another PIC Programmer (JAPP) update

2024-09-18 Thread vsurducan
Hi Rob, Assuming I do not want to hear about Python and I want to use a simple terminal to send the commands to the programmer, how do I load the pic programmer info and the hex file? thx, On Sat, Sep 14, 2024 at 5:10 PM rob...@hotmail.com wrote: > Hi all, > > As a side project I am working on t