Jallib 1.9.0 Beta is available

70 views
Skip to first unread message

Matthew Schinkel

unread,
Mar 29, 2024, 8:10:58 PM3/29/24
to jallib
Hi Everyone,

Jallib 1.9.0 Beta is available. Please download and test this. There will be an official release after 2 weeks.

If any changes are needed please let me know.


Changes since 1.8.0

device files:
 - Added 16f18026.jal, 16f18046.jal.
 - Added 16f18054.jal, 16f18055.jal, 16f18074.jal, 16f18075.jal.
 - Added 18f26q71.jal, 18f46q71.jal, 18f56q71.jal.
 - Added 16f17114.jal, 16f17115.jal, 16f17124.jal, 16f17125.jal, 16f17144.jal, 16f17145.jal
 - Added 16f18114.jal, 16f18115.jal, 16f18124.jal, 16f18125.jal, 16f18144.jal, 16f18145.jal
 - Added 16f17156.jal, 16f17176.jal
 - Added 16f17154.jal, 16f17155.jal, 16f17174.jal, 16f17175.jal
 - Added 16f18154.jal, 16f18155.jal, 16f18174.jal, 16f18175.jal
 - Added 16f18126.jal, 16f18146.jal.
 

externals:
 - Added library rda5807m.jal, single-chip broadcast FM radio tuner.
 - Update of rtc_3231.jal. Added functions for reading the set alarm times.
 - Added library nec_rc_decoder.jal, NEC Remote Control decoder.
 - Added library philips_rc_decoder.jal, Philips RC5/RC6 Remote Control decoder.
 - Update of gps_neo_6m.jal. Works on interrupt basis. GPS location added.
   Note: This results in a breaking change is you have used the previous version.
 - Added library dcf77_decoder.jal, decoder for the DCF77 signal.
 - Added library hcsr04.jal, HC-SR04 ultrasonic distance sensor
 
filesystem:
 -

compiler:
 - Update of jalv2 compiler documentation, fixing typo and adding operator
   precedence.
 - Added new compiler, version jalv25r8, fixing compiler issues #28, #30 and #31.
 
jal:
 -

networking:
 -

peripherals:
 - Update of adc.jal to support newer PICs (alias added for ADCON0_GONDONE).
 - Update of stopwatch.jal and stopwatch2.jal to support newer PICs
 - Update of i2c_hardware.jal supporting a timeout to prevent hangup.

projects:
 -
 
protocols:
 -

samples:
 - Added 16f18026_blink_intosc.jal, 16f18046_blink_intosc.jal.
 - Added 16f18054_blink_intosc.jal, 16f18055_blink_intosc.jal,
         16f18074_blink_intosc.jal, 16f18075_blink_intosc.jal.
 - Added 18f26q71_blink_hs.jal, 18f26q71_blink_intosc.jal,
         18f46q71_blink_hs.jal, 18f46q71_blink_intosc.jal,
         18f56q71_blink_hs.jal, 18f56q71_blink_intosc.jal.
 - Added 16f1825_rda5807m.jal library for single-chip broadcast FM radio tuner.
 - Update of 16f1825_rtc_ds3231.jal. Added reading the set alarm times.
 - Added 16f15325_adc.jal. Newer PIC to test the updated adc.jal library.
 - Added 16f15325_stopwatch.jal, 16f15325_stopwatch2.jal
 - Added 16f877a_nec_rc_decoder.jal, 16f1825_nec_rc_decoder.jal,
         16f18857_nec_rc_decoder.jal for NEC Remote Control decoder library.
 - Added 16f877a_philips_rc_decoder.jal, 16f1825_philips_rc_decoder.jal,
         16f18857_philips_rc_decoder.jal for Philips Remote Control decoder library.
 - Added 16f17114_blink_hs.jal, 16f17114_blink_intosc.jal
         16f17115_blink_hs.jal, 16f17115_blink_intosc.jal
 16f17124_blink_hs.jal, 16f17124_blink_intosc.jal
         16f17125_blink_hs.jal, 16f17125_blink_intosc.jal
 16f17144_blink_hs.jal, 16f17144_blink_intosc.jal
 16f17145_blink_hs.jal, 16f17145_blink_intosc.jal
 - Added 16f18114_blink_hs.jal, 16f18114_blink_intosc.jal
         16f18115_blink_hs.jal, 16f18115_blink_intosc.jal
 16f18124_blink_hs.jal, 16f18124_blink_intosc.jal
         16f18125_blink_hs.jal, 16f18125_blink_intosc.jal
 16f18144_blink_hs.jal, 16f18144_blink_intosc.jal
 16f18145_blink_hs.jal, 16f18145_blink_intosc.jal
 - Update of 16f1825_gps_neo_6m.jal (see remark on breaking change of library).
   Added 16f1825_gps_neo_6m_ssd1306_clock.jal
 - Added 16f1825_dcf77_decoder_serial.jal, 16f1825_dcf77_decoder_ssd1306.jal
 - Added 16f1825_hcsr04_led.jal, 16f1825_hcsr04_serial.jal
 - Added 16f17156_blink_hs.jal, 16f17156_blink_intosc.jal,
         16f17176_blink_hs.jal, 16f17176_blink_intosc.jal
 - Added 16f17154_blink_hs.jal, 16f17154_blink_intosc.jal,
         16f17155_blink_hs.jal, 16f17155_blink_intosc.jal,
 16f17174_blink_hs.jal, 16f17174_blink_intosc.jal,
 16f17175_blink_hs.jal, 16f17175_blink_intosc.jal
 - Added 16f18154_blink_hs.jal, 16f18154_blink_intosc.jal,
         16f18155_blink_hs.jal, 16f18155_blink_intosc.jal,
 16f18174_blink_hs.jal, 16f18174_blink_intosc.jal,
 16f18175_blink_hs.jal, 16f18175_blink_intosc.jal
 - Added 16f18126_blink_hs.jal, 16f18126_blink_intosc.jal
         16f18146_blink_hs.jal, 16f18146_blink_intosc.jal
 - Added 16f1823_i2c_hw_eeprom_serial.jal to demonstrate i2c timeout functionality
 
documentation:
 -
 
tools:
 - Update of Python device file generation scripts for MPLABX_v6.10
 - Update of Python device file generation scripts for MPLABX_v6.15
 - Update of Python device file generation scripts for MPLABX_v6.20 

Rob CJ

unread,
Mar 30, 2024, 3:52:31 AM3/30/24
to jallib
Hi Matt,

This version does not yet have the change i2c_hardware.jal version which I uploaded yesterday that solves the issue reportedby David. 

Maybe I was too late and it missed the release.

Is it possible to add this to the final release?

Thanks.

Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens Matthew Schinkel <mattsc...@hotmail.com>
Verzonden: zaterdag 30 maart 2024 01:10
Aan: jallib <jal...@googlegroups.com>
Onderwerp: [jallib] Jallib 1.9.0 Beta is available
 
--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/61a8268f-9e66-4417-ab6e-c37f2ec43bcfn%40googlegroups.com.

Rob CJ

unread,
Mar 30, 2024, 5:10:46 AM3/30/24
to jallib
Hi Matt,

I downloaded the zip file. Seems that the compiler is missing.

Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens Rob CJ <rob...@hotmail.com>
Verzonden: zaterdag 30 maart 2024 08:52
Aan: jallib <jal...@googlegroups.com>
Onderwerp: Re: [jallib] Jallib 1.9.0 Beta is available
 

Matthew Schinkel

unread,
Mar 30, 2024, 12:04:15 PM3/30/24
to jallib
Hi Rob, I've added it to jallib-1.9.0beta.zip

The other files have it already.

Thanks,
Matt.

Rob CJ

unread,
Mar 30, 2024, 1:49:54 PM3/30/24
to jallib
Hi Matt,

Thanks for adding the compiler.

Can you also add the latest i2c_hardware.jal and the last version of the changelog (both were updated yesterday just before your release).

Thanks.

Kind regards,

Rob


Verzonden: zaterdag 30 maart 2024 17:04

David VB

unread,
Apr 1, 2024, 11:05:14 AM4/1/24
to jallib
Hi Matt,

Besides the comment of Rob about i2c_hardware.jal, there is another thing I'd like to mention:

MPLABX 6.20 introduces the new 16F131xx family.
The new device files for that family are include in the Github, but are not listed in the list of changes.
Will they be part of the release of jallib 1.9.0 ?

Thanks,

Kind regards

David

Rob CJ

unread,
Apr 1, 2024, 1:12:07 PM4/1/24
to jallib
Hi David,

I can answer that. They are not yet in the release because I did not yet have a sample to test them.

I can only request a limited amount of samples from Microchip.

Normally only tested device files are in the release.

But you can get access to the device files since I have already created them and uploaded them to Github but as said are not yet in the release.

If you have used the device file and it all works, let me know because then I can add them to the next bee-package (I think we should not change the contents of the release now).

Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens David VB <pinhe...@gmail.com>
Verzonden: maandag 1 april 2024 17:05

David VB

unread,
Apr 2, 2024, 10:26:18 AM4/2/24
to jallib
Hi Rob,

Thanks for your answer.   
I have just bought the Curiosity Nano 16F13145 board, but have not yet tested it.
I have several other references of that family (16F131xx) in my basket since they now become available on Digikey, but for those, I waited to buy them because I would like to test the CLB first.

Unfortunately, it seems that the CLB is only usable with the synthesis tool available online or from MPLABX, and that the produced output cannot be retrieved as "something" that could be integrated in a program written outside of MPLABX.....  

The ideal would have been to be able to retrieve a kind of include file that could be used as asm (after transformation, of course).  That way, it would have been usable in jal.

But by reading the documentation, it appears that not all involved registers are available to the user, and that the synthesized model is embedded during programming phase only....

Well, it remains a bit obsure for now, I will have to dig (much) deeper to completely understand it.

Anyway, the new CLB was the primary reason I was interested in that family, but if it unusable outside of MPLABX, then I will pass .....

I'll keep you posted

Kind regards,

David

Rob CJ

unread,
Apr 2, 2024, 12:54:06 PM4/2/24
to jallib
Hi David,

I never worked with those configurable blocks but it can be interesting.

BTW. I think if you order at Digikey I thougt you also had to pay costs for customs (I think I had to pay that a long time ago since the components came from the USA).

If I am right you live in Belgium. An option would be to order the chip at Reichelt in Germany. They are not every expensive and the shipment costs are OK (some other suppliers use DTP or others who are very expensive in shipment costs).

Just an idea to save money (I hope), Dutch habbit 🙂.

De PIC16F13145-microcontrollerfamilie biedt een effectieve methode voor de implementatie van op hardware gebaseerde oplossingen. Door de introductie van de CLB-randapparatuur (Configurable Logic [...]
Kind regards,

Rob


Verzonden: dinsdag 2 april 2024 16:26

David VB

unread,
Apr 3, 2024, 1:38:12 PM4/3/24
to jallib
Hi Rob,

Thanks for the tip

When you buy form Digikey.NL or Mouse.NL (or any european domain), custom duties and taxes are already included in the displayed price.   
The only thing to add is the VAT (21% in Belgium) if you buy as an individual.   
And be sure to buy for at least 50 €, to get free shipping.
Digikey is usually a bit cheaper than Mouser, but with Mouser, the parcel usually arrives one day earlier (Fedex)
What's interesting with those resellers is that the price is depending of the quantity and rapidly goes down...
Example: When buying a PIC reference I still don't have in stock, I buy 2 in DIP-package (for the breaboard) and then 25 in SOIC or SSOP for my projects.   The price is then ridicously low.
Sometimes I do not even buy DIP's anymore, and use SOIC on a little DIP-adapter board as you can find on AliExpress which can then be use on breadboards

So, feel comfortable to buy from them: their prices are unbeatable, and there are no hidden costs

I also know about Reichelt and regurlarly buy from them too, especially when they have components in their "Sale" list: they are then sometimes cheaper than on the "big" distributors.   And they have a great customer service: I once bought a defective device, and they replaced it immediately, for free, without making any trouble.

Conrad is also available in Belgium, but their price tags have sky-rocketted, and I do not even spend my time to take them into comparison.   I only search on their site for things I do not find on the other shops.

Be sure to also test ELV.DE   They sell some items (especially kits and modules) you will not find elsewhere.   Website in German or Austrian only....

Back to the CLB subject: these peripherals are totally new.  The 16F131xx family is their first implementation.   They look incredibly powerful and easy to use, with the help of the synthesiser that allows you to create the logic model either graphically or by importing a Verilog file.   What remains unclear for me is how to program the PIC with this logical model, since only the input and output, and some general configuration registers are available to the user.  The logical design itself (output of the synthesizer) is a set of files from which some is/are include during the programming ("burning") phase, along with the hex file, but I still do not know how to do that....

I still have some documentation to read and try.

(BTW, I think that for this CLB subject, it should be more advisabe to publish in the jallist group, because it is not directly linked to jallib.   When I will habve find something useful, I will open a new topic in the jallist for it)

Kind regards,

David

vsurducan

unread,
Apr 3, 2024, 3:19:04 PM4/3/24
to jal...@googlegroups.com
Some components can be found at TME and Farnell. Analog Devices embargo components from Digikey or Mouser only. DIP is history even for hobby. Only vintage electronics use  DIP and vacuum tubes, which are nice. :)



David VB

unread,
Apr 3, 2024, 5:19:22 PM4/3/24
to jallib
Yes, for some time, I bought from Farnell, but one day, they stopped serving me because as an hobbyist I didn't have a VAT number.   Maybe it has changed now, but I do not look at their website anymore.

As for TME, I know them, see their promotions, but never gave it a try (yet).  
Reply all
Reply to author
Forward
0 new messages