Re: [jallib] USB_help

2022-12-16 Thread hans
Hey , I have now received the 18F4550 and the 16F1455 and have tried both with the usb_serial samples. programming with PicKit_3, but in all cases I get a warning on my PC (both on win10 and win7) that the USB is not recognized. The Vusb with capacitor reads 3.3 volts and I have programmed both

Re: [jallib] USB_help

2022-12-16 Thread Rob CJ
Hi Hans, Can you share the schematic diagram for the 16F1455? I assume you used the standard sample program for the 16F1455. Thanks. Kind regards, Rob Van: jallib@googlegroups.com namens hans Verzonden: vrijdag 16 december 2022 14:20 Aan: jallib Onderwerp:

[jallib] [jallib/jallib] 0497e1: Small update of tm1637 library

2022-12-16 Thread 'Rob Jansen' via jallib
Branch: refs/heads/master Home: https://github.com/jallib/jallib Commit: 0497e1d732a3acd0ab64f890b3b6db5f21b8297b https://github.com/jallib/jallib/commit/0497e1d732a3acd0ab64f890b3b6db5f21b8297b Author: Rob Jansen <12682653+robjanse...@users.noreply.github.com> Date: 2022-12-16

Re: [jallib] USB_help

2022-12-16 Thread vsurducan
Hi Hans, could you test the following code? Just change the include PIC18F2550 with PIC18F4550 -- - include 18f2550 -- even though the external crystal is 20 MHz, the configuration is such that -- the CPU clock is derived from the 96 Mhz PLL clock (

Re: [jallib] USB_help

2022-12-16 Thread hans
Hi Vasile, With this the connection is accepted. i see a new com port and on a terminal a bunch of values. I have to disconnect the Pickit. Can you complete this with the example in the sample ? great Hans Op vrijdag 16 december 2022 om 15:46:26 UTC+1 schreef vasile: > Hi Hans, > could you tes

Re: [jallib] USB_help

2022-12-16 Thread vsurducan
Hans, I think you are doing in this way: 1. USB connection is kept permanently between your board and PC 2. your board is programmed with pickit and after programming you expect to see immediately the pic USB device in your PC right? After programming you have to disconnect your PC from USB and co

Re: [jallib] USB_help

2022-12-16 Thread hans
Hello Vasile I have always worked as you indicated. Program, unplug everything and then plug it back in. prompt response that the case was not recognized. See my previous message. Now your latest version, does nothing at all. Loaded the previous version again and it works as stated before. regar

[jallib] For Loop Issue

2022-12-16 Thread flyway38
Hello all, Have found an odd issue. Maybe me not doing it right, but need to ear from you about it. Here's the code: for nSmsCenterPhone using Index loop SmsCenterPhone[Index+1]=data_eeprom(Index+n)+48 end loop Situation is; I need to start filling array SmsCenterPhone[20]

[jallib] [jallib/jallib] ebd400: Update 16f1823_tm1637_4_displays_no_keyboard.jal

2022-12-16 Thread 'Rob Jansen' via jallib
Branch: refs/heads/master Home: https://github.com/jallib/jallib Commit: ebd40059cf8c5fe842fca58b72f178b1578d06c1 https://github.com/jallib/jallib/commit/ebd40059cf8c5fe842fca58b72f178b1578d06c1 Author: Rob Jansen <12682653+robjanse...@users.noreply.github.com> Date: 2022-12-16

[jallib] Re: For Loop Issue

2022-12-16 Thread flyway38
Heres the issue in a different form: This code works: for nSmsCenterPhone+1 using Index loop SmsCenterPhone[Index]=data_eeprom(Index+n)+48 end loop SmsCenterPhone[0]=data_eeprom(n)-- Insert "+" @[0] This should work and the same, but no... it do

Re: [jallib] Re: For Loop Issue

2022-12-16 Thread Rob CJ
Hi Filip, No idea. I need to see if I can reproduce this. Of what type are Index and n? What is the value of n? Thanks Kind regards, Rob Van: jallib@googlegroups.com namens flyway38 Verzonden: vrijdag 16 december 2022 19:34 Aan: jallib Onderwerp: [jallib]

Re: [jallib] USB_help

2022-12-16 Thread Rob CJ
Hi Hans, Vasile, What has been changed that it now works? If I look at the setting for the chip I do not see a difference with the program that Hans had sent before. I see in the program below a delay of 5 seconds but that will cause a problem. There are two ways to use the USB library, withou

Re: [jallib] USB_help

2022-12-16 Thread hans
Hi Vasile, Rob, Having often problems with the LVP I often disable this. I did this in the first program from Vasile and have forgotten this to mention. Doing the same in the last version and IT WORKS !!! But i had to start the PICKIT several times again with

Re: [jallib] Re: For Loop Issue

2022-12-16 Thread flyway38
Hi Rob, Thanks for your support. Both vars are bytes. Cheers, FS On Friday, December 16, 2022 at 6:52:05 PM UTC rob...@hotmail.com wrote: > Hi Filip, > > No idea. I need to see if I can reproduce this. > > Of what type are Index and n? What is the value of n? > > Thanks > > Kind regards, > > Ro

Re: [jallib] Re: For Loop Issue

2022-12-16 Thread flyway38
Missed this information above. n goes from 0 to something like 20, and nSmsCenterPhone is also a byte and assumes 12 in this case. On Friday, December 16, 2022 at 9:41:07 PM UTC flyway38 wrote: > Hi Rob, > > Thanks for your support. > Both vars are bytes. > > Cheers, > FS > > On Friday, Decembe

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

2022-12-16 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

Re: [jallib] USB_help

2022-12-16 Thread vsurducan
Aleluia! Say thanks to Rob which adjusted the usb serial lib with interrupts. The serial usb connectivity depends also on laptop and terminal. Use a terminal which does not hang in a bunch of data. Do not disable intcon_gie if use usb serial with interrupts. Do not expect to solve fast things in pi

Re: [jallib] USB_help

2022-12-16 Thread vsurducan
It seems to me that flushing was the problem. It works with interrupts but jal 1.7.0 seems to not have the usb serial interrupt sample for pic18f4550? That delay is ok if you program the pic while is connected to usb. It tooks a while until pc see the pic, but that depends on pc, os, etc. If you s