[jallib] [jallib build] buildbot success in jallib on jallib-standard

2022-11-14 Thread build
Hi guys,

This is buildbot speaking. I have finished a build of jallib-standard on jallib.
Buildslave for this Build: sebbot

Build Reason: 
Build Source Stamp: HEAD
Blamelist: rob.jansen

Build succeeded!
Logs are attached.

sincerely,
 -The Buildbot

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/E1oulqJ-0002S0-IG%40casadeyork.com.
Updating '.':

UU   include/peripheral/spi/spi_master_hw.jal

UU   include/peripheral/spi/spi_master_hw2.jal

Updated to revision 3867.

2788 samples to validate...

1172 libraries to validate...

All files validated :)

Environment config

JALLIB_ROOT=/home/mattschinkel/jallib/slave/standard/build

JALLIB_REPOS=/home/mattschinkel/jallib/slave/standard/build/include

JALLIB_SAMPLEDIR=/home/mattschinkel/jallib/slave/standard/build/sample

JALLIB_JALV2=/home/mattschinkel/bin/jalv2

JALLIB_PYTHON=python2.7



Time duration: 250 secs

jal jalv25r6 (compiled Oct 29 2021)

Required parameter to hex is missing!

no source file, use /home/mattschinkel/bin/jalv2 --help for help

Error while compiling file (status=1).

See previous message.

2788 samples to compile...

All samples compile :)

Environment config

JALLIB_ROOT=/home/mattschinkel/jallib/slave/standard/build

JALLIB_REPOS=/home/mattschinkel/jallib/slave/standard/build/include

JALLIB_SAMPLEDIR=/home/mattschinkel/jallib/slave/standard/build/sample

JALLIB_JALV2=/home/mattschinkel/bin/jalv2

JALLIB_PYTHON=python2.7



Time duration: 1913 secs



Re: [jallib] Re: Serial numbers (SQTP)

2022-11-14 Thread 'evan....@googlemail.com' via jallib
Thank you.  Your answer answers the question from my CTO.hobbyist v 
commercial.  Your use case make perfect sense for a hobbyist.

We know the file format.

I will discuss with my CTO and see what he thinks.


On Monday, 14 November 2022 at 20:21:56 UTC pinhe...@gmail.com wrote:

> Thanks for the offer, Evan
>
> I am a hobbyist, so it is not for commercial use.
>
> I was looking for a solution in the form of a small program written in VB 
> or whatever language, producing an EXE file which, once called from a bat 
> or cmd would generate a SQTP file following the Microchip format, and 
> containing the current date and time.   That file is then passed as a 
> parameter to PK3cmd.
>
> My goal is only to have the date and time at which the PIC was programmed.
>
> The memory region may vary (EEPROM, Top of Program memory, top of HEF) 
> and could also be a parameter
>
> See file format : https://microchipdeveloper.com/ipe:sqtp-start 
>
>
> Le 14-11-22 à 19:03, 'evan@googlemail.com' via jallib a écrit :
>
> We may be able to help. 
>
> PICKitPlus has a set of features in the PK+Gang Programmer that covers 
> this.  But, that is expensive.
>
> We can add to our base software this SQTP  capability.
>
> Questions:  Is this commercial usage?  And, where is the value written to? 
> (Which memory area ?)
>
> You can ping me directly so we can get you involved in any development.
>
> Evan
>
>
>
> On Saturday, 12 November 2022 at 13:40:56 UTC pinhe...@gmail.com wrote:
>
>> Hi there,
>>
>> Whenever it's possible, I use a TL866 programmer with the MiniPro 
>> programming software.
>>
>> One function I really like about that software is the ability to generate 
>> and write auto-serial numbers (which in itself is nothing special, because 
>> known as SQTP in MPLab IPE).
>> But one of the possible choice of format for those serial numbers is the 
>> current date and time.   
>> You also have the choice of the memory in which program it (EEPROM, Top 
>> of Program memory,)See attached screenshot
>>
>> Unfortunately, newer PIC's are not supported by TL866, and then, I have 
>> to use my PicKit4 with MPLab IPE.
>>
>> But MPLab IPE does not support this usefu function.
>>
>> Does anyone have the knowledge of a way I could achieve this, may be with 
>> a batch file generating the date and time and use it as parameter for the 
>> command line of PK program ?
>> I am not fluent enough in writing batch or cmd files to achieve this, so 
>> if anyone could help
>>
>> Thanks in advance
>>
> -- 
> 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/2db227b3-fa15-4a43-a997-c6c6c3f307den%40googlegroups.com
>  
> 
> .
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/50440e1c-2248-4d09-972b-60ba43bdc7f1n%40googlegroups.com.


Re: [jallib] Re: Serial numbers (SQTP)

2022-11-14 Thread Pinhead

Thanks for the offer, Evan

I am a hobbyist, so it is not for commercial use.

I was looking for a solution in the form of a small program written in 
VB or whatever language, producing an EXE file which, once called from a 
bat or cmd would generate a SQTP file following the Microchip format, 
and containing the current date and time.   That file is then passed as 
a parameter to PK3cmd.


My goal is only to have the date and time at which the PIC was programmed.

The memory region may vary (EEPROM, Top of Program memory, top of 
HEF) and could also be a parameter


See file format : https://microchipdeveloper.com/ipe:sqtp-start


Le 14-11-22 à 19:03, 'evan@googlemail.com' via jallib a écrit :

We may be able to help.

PICKitPlus has a set of features in the PK+Gang Programmer that covers 
this.  But, that is expensive.


We can add to our base software this SQTP  capability.

Questions:  Is this commercial usage?  And, where is the value written 
to? (Which memory area ?)


You can ping me directly so we can get you involved in any development.

Evan



On Saturday, 12 November 2022 at 13:40:56 UTC pinhe...@gmail.com wrote:

Hi there,

Whenever it's possible, I use a TL866 programmer with the MiniPro
programming software.

One function I really like about that software is the ability to
generate and write auto-serial numbers (which in itself is nothing
special, because known as SQTP in MPLab IPE).
But one of the possible choice of format for those serial numbers
is the current date and time.
You also have the choice of the memory in which program it
(EEPROM, Top of Program memory,)    See attached screenshot

Unfortunately, newer PIC's are not supported by TL866, and then, I
have to use my PicKit4 with MPLab IPE.

But MPLab IPE does not support this usefu function.

Does anyone have the knowledge of a way I could achieve this, may
be with a batch file generating the date and time and use it as
parameter for the command line of PK program ?
I am not fluent enough in writing batch or cmd files to achieve
this, so if anyone could help

Thanks in advance

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/2db227b3-fa15-4a43-a997-c6c6c3f307den%40googlegroups.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/6c754dea-0c84-f9af-03d9-ae323c9b482e%40gmail.com.


Re: [jallib] PWM serial audio transmission

2022-11-14 Thread hans


Hi Kiste,

Sometimes I have to push things aside. So is this topic. I have taken up 
the matter again and on my pin board both the transmitter and the receiver 
work with a 12F683 at 1200 baud. I did put a 100nF in series at the output 
according to your diagram. I also put a similar filter in the input of the 
receiver. Identical to your proposal but because I know absolutely nothing 
about filter matters I don't know if I did this right.

I feed a separate uart signal as input and read out another uart with the 
receiver.

I recorded the signal with audicity and saved it as WAV. When playing back 
to the receiver I do get responses but there is quite a bit of junk.

My question : what should the inlet filter to the receiver look like.

I know your box of thanks is already full, but I'll add another one.

regards

Hans

Op zondag 19 juni 2022 om 12:46:36 UTC+2 schreef hans:

> Hello all,
> I've tried many things, but I always had problems. I have now received a 
> handful of MT8880 from china and this time they all worked. Even when I 
> apply this I regularly have malfunctions, but if I repeat every command 3 
> times and check then it works. I'm a bit further, only the person I was 
> working for has unfortunately chosen something else. So this will go in the 
> "you can't know box" for now.
> We continue happily, it remains fun.
> regards
> Hans
>
> Op dinsdag 5 april 2022 om 19:57:25 UTC+2 schreef rob...@hotmail.com:
>
>> Hi Kiste,
>>
>> Nice solution. Hans has options to select from .
>>
>> BTW. @hans. I made as small error in  my hardware receiver solution. 
>> Capacitor C3 should be 2nF (two 1nF in parallel) but if I where you I would 
>> try Kiste's solution first. If that works you are done.
>>
>> Kind regards,
>>
>> Rob
>>
>> --
>> *Van:* 'Oliver Seitz' via jallib 
>> *Verzonden:* dinsdag 5 april 2022 19:12
>>
>> *Aan:* jal...@googlegroups.com 
>> *Onderwerp:* Re: [jallib] PWM serial audio transmission
>> I have only made small changes in the code and improved the comments. I 
>> did not try this version, but I'm quite sure it should work. You only need 
>> a PIC, a resistor, a TTL-Serial converter with a computer and the sample 
>> audio file which i posted earlier to see it working.
>>
>> (You can even omit the resistor, but you could fry the PIC then. 
>> Especially if you don't use the error LED and have no idea about what 
>> volume to set)
>>
>> Greets,
>> Kiste
>>
>> Am Dienstag, 5. April 2022, 12:05:59 MESZ hat hans <
>> hansvanve...@gmail.com> Folgendes geschrieben: 
>>
>>
>> Hello Rob and Kiste, 
>> The next days i have a friend who can assist me. So (beside his AC 
>> project) we might find time to continue with this . So please give us the 
>> last info.
>> Thanks again
>> hans 
>>
>> Op zondag 3 april 2022 om 15:57:03 UTC+2 schreef rob...@hotmail.com:
>>
>> Hi Hans,
>>
>> I also tried it with a lower frequency, 3330 Hz for the low tone and 4030 
>> Hz for the high tone so that the signal is strong enough when you record it.
>>
>> If you want to know more, let me know.
>>
>> Kind regards,
>>
>> Rob
>>
>> --
>> *Van:* jal...@googlegroups.com  namens hans <
>> hansvanve...@gmail.com>
>> *Verzonden:* zondag 3 april 2022 15:11
>> *Aan:* jallib 
>>
>> *Onderwerp:* Re: [jallib] PWM serial audio transmission
>> Still foggy, just wait a little longer with this case.
>>
>> Op zaterdag 26 maart 2022 om 20:05:55 UTC+1 schreef rob...@hotmail.com:
>>
>> Hi Hans, 
>>
>> I hope you are getting well soon. Last update. I recorded the audio and 
>> played it back to see if it works.
>>
>> And it seems to work but may need some fine tuning. In this video you see 
>> the device in operation: https://youtu.be/w-j0ekk975g
>>
>> The yellow line on the oscilloscope is the audio signal and the blue line 
>> the trigger signal. This trigger signal is also visible by the Amber LED on 
>> the top right of the breadboard.
>>
>> I recorded the low tone (it is a video recording but I am only using the 
>> audio) and switched from low tone to the high tone frequently. What you see 
>> is that the signal of the high tone is smaller but it still works. You also 
>> see that the refresh of the oscilloscope is a bit behind so the LED on the 
>> breadboard shows the real trigger. I also attached two screenshots. You see 
>> that the trigger response is quite fast (zoomed in) but with a high tone it 
>> is not constant (see zoomed out) but that can be solved in software and 
>> could be because the signal is smaller. Also I noticed that when no signal 
>> is present the output is also high but that stops as soon as the low tone 
>> is detected.
>>
>> So still a proof of concept but seems to do something. I also attached 
>> the audio tone. Maybe lower tones would be better.
>>
>> For recording I just used the output of the PIC using a resistor divider 
>> of 10 k with 100 Ohm and connecting that to the line in of my computer. For 
>> playback I added an LM358 to 

[jallib] Re: Serial numbers (SQTP)

2022-11-14 Thread 'evan....@googlemail.com' via jallib
We may be able to help.

PICKitPlus has a set of features in the PK+Gang Programmer that covers 
this.  But, that is expensive.

We can add to our base software this SQTP  capability.

Questions:  Is this commercial usage?  And, where is the value written to? 
(Which memory area ?)

You can ping me directly so we can get you involved in any development.

Evan



On Saturday, 12 November 2022 at 13:40:56 UTC pinhe...@gmail.com wrote:

> Hi there,
>
> Whenever it's possible, I use a TL866 programmer with the MiniPro 
> programming software.
>
> One function I really like about that software is the ability to generate 
> and write auto-serial numbers (which in itself is nothing special, because 
> known as SQTP in MPLab IPE).
> But one of the possible choice of format for those serial numbers is the 
> current date and time.   
> You also have the choice of the memory in which program it (EEPROM, Top of 
> Program memory,)See attached screenshot
>
> Unfortunately, newer PIC's are not supported by TL866, and then, I have to 
> use my PicKit4 with MPLab IPE.
>
> But MPLab IPE does not support this usefu function.
>
> Does anyone have the knowledge of a way I could achieve this, may be with 
> a batch file generating the date and time and use it as parameter for the 
> command line of PK program ?
> I am not fluent enough in writing batch or cmd files to achieve this, so 
> if anyone could help
>
> Thanks in advance
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/2db227b3-fa15-4a43-a997-c6c6c3f307den%40googlegroups.com.


[jallib] [jallib/jallib] b744c7: Removed include spi_common

2022-11-14 Thread 'Rob Jansen' via jallib
  Branch: refs/heads/master
  Home:   https://github.com/jallib/jallib
  Commit: b744c7048336c45553aa773127290caa9d9ed22f
  
https://github.com/jallib/jallib/commit/b744c7048336c45553aa773127290caa9d9ed22f
  Author: Rob Jansen 
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
M include/peripheral/spi/spi_master_hw.jal
M include/peripheral/spi/spi_master_hw2.jal

  Log Message:
  ---
  Removed include spi_common

Already included by spi_host.


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/jallib/jallib/push/refs/heads/master/029617-b744c7%40github.com.