Search:

Type: Posts; User: AlbertoFS

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    15
    Views
    16

    Re: 3.6.0.3 and HIGHLOW_TRIS_REVERSE ??

    Hi all,
    I have tested with the PDS version 3.6.0.3 and the same thing happens.
    Since this command has no subroutine, I do not know how to #Disable it. We would have to ask Les.

    Sometimes, when...
  2. Replies
    5
    Views
    6

    Re: Address infos of memory map

    Les, some time ago had added a new declare.
    Declare Eeprom_Address = $310000 (value for K40 serie)
    I would like this address to be reflected in the asm file.
    Regards
  3. Replies
    52
    Views
    2,350

    Re: User Id Location ?

    Just write this table with your values in the end of the basic code.
    Asm
    __IDLOCS 0x200000,0xFF
    __IDLOCS 0x200001,0xFF
    __IDLOCS 0x200002,0xFF
    __IDLOCS 0x200003,0xFF
    __IDLOCS ...
  4. Replies
    5
    Views
    6

    Address infos of memory map

    Hi Les,
    In the asm compiled file I can find information related to the addresses of DEVID1/IDLOC0/... in memory map.
    config1h equ 0X300001
    DEVID1 equ 0X3FFFFE
    DEVID2 equ 0X3FFFFF
    IDLOC0 equ...
  5. Replies
    33
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    I have been able to test the bootloader with the internal oscillator at 64Mhz with these parameters. I advise you to try the PIC18F47K40 with an external Xtal first and then you can connect to the...
  6. Replies
    2
    Views
    3

    Re: DEVID1 and DEVID2 in PPI file

    Hi George,
    I suppose you want to read/write some data?

    As this is written in asm in the compiled file.
    DEVID1 equ 0X3FFFFE
    DEVID2 equ 0X3FFFFF

    Then you could do it, maybe!
    Asm
    Movlw...
  7. Replies
    33
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    The program is written and prepared for the PIC18F27K40.
    I will describe an example for the PIC18F27K40 with Xtal of 16Mhz + PLL + standard options.

    - Device = 18F27K40
    - Declare Xtal = 64
    -...
  8. Replies
    33
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    What are your questions? you could describe your needs or options and I will explain.
    For which bootloader the HSM or the LSM? Declare Xtal/PLL...

    This week I'm working hard on improving the...
  9. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    I installed the new version of CoolTerm and it works as badly as you say it.
    However, if I change the extension file.hex to file.asc, then the file can be downloaded and it works fine. In my...
  10. Replies
    7
    Views
    8

    Re: Demo code for the ZX4120 GPS article

    Hi George,
    My town hall is: 41 29' 27" N and 2 08' 26" E, according to "Google Earth".
    My QTH is JN11BL. It is are already set on the demonstration program.
    Regards
    Alberto
  11. Replies
    33
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    Hi Charlie,
    It can be achieved with the help of a web translator and many hours of work and with the appreciated help of John Drew for the final correction.
    Regards
    Alberto
  12. Replies
    33
    Views
    2,812

    Re: A Universal PIC18 Bootloader for PDS

    Hi all,
    I am working on a new version of the bootloader to minimize the variation of the length of the file according to the PIC of the same family or for the new versions of the compiler. I have...
  13. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi david,
    I'm back with a new internet connection.
    Have you been able to run the terminal with the bootloader or have you been able to test the old version? I would like to have feedback to improve...
  14. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi George,
    I have reassembled my hardware for the PIC18F4620. I was lucky to have a Xtal of 20Mhz. At first I had the same problem with the terminal because I had left the Xtal of 16Mhz. Could it be...
  15. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi George,
    I have the version of CollTerm 1.46 Built 322. It is running without problem.
    You must first establish the connection to the port by pressing "Connect". Only when there is a connection...
  16. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi George,
    I am sorry, the Baud rate should be 57600 with a Xtal of 20 Mhz. The baud rate is automatic according to this code. I had in mind that the Xtal was 40Mhz. When these scribbles come out...
  17. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi Dave
    After loaded the firmware into the PIC, you must do a first reset that should receive the letter "W" to the terminal, which means "Waiting for Reset". If the letter "E" comes out, it means...
  18. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    You should not forget that the heading of your code should be this way and you copy the bootloader config fuses into your code.

    Declare Xtal = 20
    Declare Optimiser_Level = 2
    ...
  19. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi George,
    I think everything is controlled. I found several problems.
    - The PDS version 3603, when compiling produces 52 Bytes more. As the length of the bootloader is variable according to the...
  20. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi George,
    I've already traveled back and I'm looking at the PIC18F4620 for a Xtal of 20Mhz for FOSC PIC = 20Mhz. Is it correct?
    Regards
    Alberto
  21. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    In effect the PIC18F4550 is USB and I need a little more time to study the config fuses that will be defined in the bootloader. The bootloader should operate at 48Mhz loading the HEX from the UART....
  22. Thread: UMC Loader

    by AlbertoFS
    Replies
    28
    Views
    29

    Re: UMC Loader

    Hi David,
    you could test my configurable bootloader, it can be compiled with the PDS. There is no file prepared for this PIC, I could do it tonight because I'm going on a trip this morning.
    The...
  23. Thread: Tranceiver

    by AlbertoFS
    Replies
    19
    Views
    20

    Re: Tranceiver

    Hi Fanie,
    I have bought 2 modules SX1278 (SX1276) LoRa from Modtronix Engineering for 12€ each. Freq = 433 Mhz 100mW.
    I would like to make a library for this module. But I do not know when I start....
  24. Replies
    2
    Views
    3

    Re: differance and usage

    I use the system variables only for the libraries which allows faster access to them.
    See these threads.
    http://www.protonbasic.co.uk/showthread.php/65576-System-Variables post 5...
  25. Replies
    5
    Views
    6

    Re: Happy Birthday Alberto

    Thank you very much Les.
  26. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    It is perfect that you have been able to find a better solution for your program. Anyway, I think this thread has been useful to understand how to use the pre-processor for Strings. This way to read...
  27. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    You have to be careful in reading the strings. As the ROM is formatted in Words, if the string has a even number of characters the end will be 0 + 0 (binary). If the string has an odd number of...
  28. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    Hi George,
    Now I understand your need, although I do not fully understand their use, but this does not matter to me.

    Preamble:
    1- Detect the label of the first String defined by the label...
  29. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    Hi George,
    I downloaded the project (VarDispSerDemo.bas) and I compiled it.
    I found only one single String, defined as: Dim String_Var As String * 10. Is it right?
    You have written the line:...
  30. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    Hi George,
    Exactly, everything I comented you, the "Strings" were loaded in RAM memory in runtime.

    I began to understand your question and it is not possible because you can not know the Label...
  31. [SOLVED !] Re: Possible problem if TBLPTR registers are changed

    In fact, you are right. cPtr8 uses TBLPTRH & TBLPTRL for PIC with memory <= 64Kb. It is normal. But it does not use TBLPTRU for memory > 64Kb ???, for example the PIC18F27K40. I will study it in...
  32. [SOLVED !] Re: Possible problem if TBLPTR registers are changed

    Hi George,
    What is the PIC you are using? According to the PIC the way of reading the ID can change. TBLPTRU, TBLPTRH & TBLPTRL are the bytes that define the address of the first byte to read/write...
  33. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    Hi George,
    You can find information about the pre-processor on page 412 of the manual. I know it is not enough to know everything concerning the use of macros by the pre-processor.
    I have had to...
  34. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    Sorry, maybe you wanted it this way.

    ' Include "Proton18_4.inc"
    ' Include "Proton18_8.inc"
    Include "Proton18_16.inc"

    Dim MyStringPointer As Byte
    Dim LenghtOfString...
  35. Replies
    22
    Views
    23

    [SOLVED !] Re: Help with Macros

    Hi George,
    Using the built-in ISIS in the compiler, which is great, you can try some things.
    I've tried writing a macro that could summarize your needs, I expect.
    Brackets define the String, it is...
Results 1 to 35 of 100
Page 1 of 3 1 2 3