Search:

Type: Posts; User: AlbertoFS

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    18

    Re: Hx711 calibration

    Hi amod and Simon,
    After some headache, I was able to finish the code to print negative numbers from -99999 to +99999, occupying 6 digits. In this way one digit is lost.
    How many digits do you...
  2. Replies
    17
    Views
    18

    Re: Hx711 calibration

    Hi amod and Simon,
    I am working to send negative numbers on the display. I have managed to show -99 to +99 already. I have to modify the structure of my program. What forces me to lose a digit or I...
  3. Re: Code for Driving 2,3 or 4 seven segment displays

    Code for Driving 2 to 6 seven segment displays

    Thank you very much John to publish the article.
    Now the code is prepared for 6 digits.
    See the article HERE.
    Regards
    Alberto
  4. Re: Code for Driving 2,3 or 4 seven segment displays

    Hi John,
    I have written this code quickly to help a PDS user. I have already found new tricks to increase the speed and efficiency of the program. I could write an article for the end of this week....
  5. Code for Driving 2,3 or 4 seven segment displays

    Hi all,
    I have recovered from the forum background a code to drive 4 seven segments displays, because there seems to be some interest in project of this type at this time.
    You can configure all...
  6. AlbertoFS has just uploaded Driving 2,3 or 4 seven segment displays.!

    AlbertoFS has just uploaded Driving 2,3 or 4 seven segment displays.!

    I have recovered from the forum background a code to drive 4 seven segments displays.
    Surely the code had been written by...
  7. Replies
    3
    Views
    4

    Re: Bootloader for the 18F26K22

    Hi George,
    Everything is possible. I downloaded the file and unzipped it. I have not found anything forgotten.
    There are 3 subfolders:
    Dev_18F23K20_18F46K20
    Dev_18F23K22_18F46K22...
  8. Replies
    3
    Views
    4

    Re: Bootloader for the 18F26K22

    Hi Yves,
    You could use my PDS bootloader running with a terminal program or the DS30 booloader running with a PC application. I do not have the hex file for the 26K22.
    Regards
    Alberto
  9. Replies
    1
    Views
    2

    Re: Message during compilation

    You're right "messg" directive does not work for that. But the message appears in the .lst & asm files. What could be useful for me to search the macros in the asm file.
    Thanks for remembering this...
  10. Replies
    13
    Views
    14

    Re: Num_Byte on 18F26K42

    Hi George,
    To make simple macros it is better to use the processor. For more complicated macros I use a mixed of the two systems. Everything depends on what you want to achieve.
    Alberto
  11. Replies
    13
    Views
    14

    Re: Num_Byte on 18F26K42

    Thank you very much for the information, Les.
    Families xxK40 and xxK42 are not easy and have complicated the lives of PDS users.
    Thanks for your dedication.
    Regards
    Alberto
  12. Replies
    13
    Views
    14

    Re: Num_Byte on 18F26K42

    Hi George,
    I have modified their ASM macros so that you have brackets to be the same as other macros written by the processor.

    EUREKA ...
    I found the problem !!!!
    Change the [Declare...
  13. Replies
    13
    Views
    14

    Re: Num_Byte on 18F26K42

    Hi George,
    I have copied a macro from your program to a new very short test program. As I had announced in post#2, it works perfectly.
    I have been able to see in your file that the 2 macros are not...
  14. Replies
    13
    Views
    14

    Re: Num_Byte on 18F26K42

    Hi George,
    I have compiled your macro with the PDS version 3.6.1.4 and I do not see anything strange in the compiled asm code.
    I have tried to put their variables in Bank0 and I have left them in...
  15. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    Hi George,
    Please, you could read my article regarding my bootloader. It would be a good first step.
    PDSloader

    In particular my bootloader is written in Proton language, which allows the...
  16. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    Hi all,
    I would intend to create a new bootloader that will record only in the upper part of the ROM from a defined address to update the subroutines and many tables written in the ROM.
    Would this...
  17. Replies
    41
    Views
    3,727

    Re: 18F24k20 Handbrake Stuck

    Hi Charlie,
    As George said the NVMCON1 register works different as standard because an errata. I published this in my bootloader 12 months ago.

    ' ROM memory has a new System To read/write.
    ' ...
  18. Replies
    41
    Views
    3,727

    Re: 18F24k20 Handbrake Stuck

    I have extracted the code from my bootloader.

    Device = 18F24K40
    Declare Xtal = 64

    '/ DEFINE THE PLL: On / OFF (not used with the Internal Oscillator).
    $define PLL_ConfigFuses...
  19. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    an example:
    Before:

    #Disable HRSOut ' Bypass the compiler's HRSOut library subroutine
    '===============================================================================
    GoTo...
  20. Replies
    41
    Views
    3,727

    Re: 18F24k20 Handbrake Stuck

    Hi Charlie,
    I sent you 2 PM's.

    Alberto
  21. Replies
    41
    Views
    3,727

    Re: 18F24k20 Handbrake Stuck

    Hi Charlie,
    I have never had so many problems with the 2xK20 and 2xK22 families. All my libraries and projects have been written for these PICs. Could you send me your schematic, components list and...
  22. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    Hi John,
    The "HRSOut" was the label also for the asm routine that puts the byte into the UART buffer. I think it is better now to avoid confusing.

    Alberto
  23. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    In the new version of PDS 3.6.1.2 a lot of code has been modified such as the label of the HRSout routine.
    Before: HRSout
    Now: __hrsout1__
    Take it into account in the replacement routine in my...
  24. Replies
    41
    Views
    3,727

    Re: 18F24k20 Handbrake Stuck

    Charlie,
    I do not just understand the problem with this chip. It could be that I do not understand the English language well.
    According to the datasheet of the PIC18F24K20 it is identical to the...
  25. Thread: 18f25k42 pps

    by AlbertoFS
    Replies
    9
    Views
    10

    Re: 18f25k42 pps

    I wrote a library for the PIC18FxxK40 series based on Les' code. It could be possible to use it for the K42 series. Just check the 2 datasheets and seee the differences.

    PIC18FxxK40 PPS

    Alberto
  26. Re: Is it possible to get a return parameter from PreProcessor

    Hi Bob,
    I have lost a bit of practice in Macros. I suppose that the routines are going to be used several times, You would have to make a mix of Preprocessor and Macro asm.
    There are several...
  27. Replies
    8
    Views
    9

    Re: Replace Label with String

    I have discussed this topic several times in the forum. I had written a library to read the Strings in the Cdata tables. I have not studied the PIC24 and I did not write the procedures. But it can...
  28. Replies
    6
    Views
    7

    Re: HPC Development Board DM164136

    George,
    Thank you very much for all infos.
    I'll see the Explorer 8 Board that has the full options.
    Regards
    Alberto
  29. Replies
    6
    Views
    7

    Re: HPC Development Board DM164136

    Thanks George,
    So if there is not a UART connection to the PC having a connector and a CPU that could do this function, this board is worth almost nothing. I have not seen the Xtal on the picture...
  30. Replies
    6
    Views
    7

    Re: HPC Development Board DM164136

    In the schematic the TARGET PROG connector is drawn. I do not see it in the printed circuit?????
    Any comment?
  31. Replies
    6
    Views
    7

    HPC Development Board DM164136

    Has anyone used this Microchip platform for PIC18?
    Is it essential to use the MPLAB Xpress to program the PIC?
    Can the USB port be used as PC connection => UART?
    Thanks for the info.
    Alberto
  32. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    30/11/2017
    I updated the Manual Part1 and I included a new manual Part2 of the PDS Bootloader.
  33. Replies
    44
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    New Version 5.0 of the PDS Bootloader

    Note: Sorry, I have deleted all the files instead of making an edition.

    Lester: I can upload only 10 files. I need to upload one more.

    I have written a...
  34. AlbertoFS has just uploaded Universal PIC18 Bootloader for PDS!

    AlbertoFS has just uploaded Universal PIC18 Bootloader for PDS!

    A new version 5.0 of the PDS Bootloader. It is more easy to use.
  35. Replies
    6
    Views
    7

    Re: What a great compiler Proton is.

    Hi George,
    Indeed the compiler writes a STOP after the last line of code. Sometime it is a pain. Then you have to leave a space for this STOP, otherwise the compiler will give an error.
    For...
Results 1 to 35 of 100
Page 1 of 3 1 2 3