Search:

Type: Posts; User: Les

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    8

    Re: SPI to MX25L4006E Flash PROM

    Be careful with the Chinese Salea clones. They don't work!

    Salea changed their PC app and the firmware inside the Chinese clones is not recognised. I know, because I bought one, and it's been in...
  2. Replies
    3
    Views
    4

    Re: 12F617 will not compile

    You're welcome.

    This happened because I created some new PPI files from recent Microchip inc files, and they have changed so many SFR and bit and fuse names for no reason.
  3. Replies
    31
    Views
    32

    Re: Programmable RF oscillators

    They've changed the terminology on this chip, and the CE pin is actually the chip power up/down pin. When it is normally associated with the SPI interface enable.

    It was left unconnected on the...
  4. Replies
    31
    Views
    32

    Re: Programmable RF oscillators

    You are very welcome Charlie.

    John. I placed the delays in the SPI routine, just to be on the safe side with timing. Apparently, according to the datasheet, it can handle a 20MHz SPI interface,...
  5. Replies
    31
    Views
    32

    Proton and Proton24 ADF4351 Synthesiser Interface Library

    A library for the ADF4351 board is available here:

    Proton and Proton24 ADF4351 Synthesiser Interface Library

    I've been looking at the chip, and maybe pin 20 could be used for FM modulation....
  6. Les has just uploaded Proton and Proton24 ADF4351 Synthesiser Interface Library!

    Les has just uploaded Proton and Proton24 ADF4351 Synthesiser Interface Library!

    This is a library to interface with an ADF4351 synthesiser board. The ADF4351 chip is capable of transmitting...
  7. Les has just uploaded Proton Compilers Update 3.6.1.6 - 1.0.5.0!

    Les has just uploaded Proton Compilers Update 3.6.1.6 - 1.0.5.0!

    Proton Compiler Update 3.6.1.6 - 1.0.5.0

    **Important**
    This is an update to an existing compiler setup. So do not uninstall a...
  8. Thread: Cdata and Cread

    by Les
    Replies
    22
    Views
    23

    Re: Cdata and Cread

    The problem with writing to flash memory is that Microchip change how many bytes have to be erased first, then how many bytes have to be written at the same time, so the compiler cannot list every...
  9. Thread: Cdata and Cread

    by Les
    Replies
    22
    Views
    23

    Re: Cdata and Cread

    See the Cread8 section within the manual for an example.

    Looking at it, I think I need to re-do the Flash memory reading sections in the manual to make them more clearer, as things have changed a...
  10. Les has just uploaded Proton Compilers Update 3.6.1.5 - 1.0.5.0!

    Les has just uploaded Proton Compilers Update 3.6.1.5 - 1.0.5.0!

    Proton Compiler Update 3.6.1.5 - 1.0.5.0

    **Important**
    This is an update to an existing compiler setup. So do not uninstall a...
  11. Thread: Why the PIC26K42

    by Les
    Replies
    16
    Views
    17

    Re: Why the PIC26K42

    One of the problems with microcontrollers now, especially PIC microcontrollers, is that when a new chip comes out, everyone jumps on using it. Even if it has no benefits in using it. LOL

    I've seem...
  12. Replies
    13
    Views
    14

    Re: Num_Byte on 18F26K42

    The problem lies in the new Movffl mnemonic, and the requirement for it, on the 18FXXK42 devices.

    This is now required because all the SFRs are in RAM above address 4096. However, it has some...
  13. Les has just uploaded Proton Version 3.6.1.4 Update Patch!

    Les has just uploaded Proton Version 3.6.1.4 Update Patch!

    Here is an update patch for the 8-bit Proton compiler.

    It will make the 8-bit Proton compiler, version 3.6.1.4.

    Corrections....
  14. Re: Fault in bit wise comparisons on release 3.6.1.2.

    I need more than just a snippet of code kbaykar, before I can find any, possible, anomaly.

    I need the variable types and their location in the program. i.e. the complete Dim list.

    This is...
  15. Replies
    3
    Views
    4

    Re: About Define directive...

    Whooops. Sorry guys. That means a single char array within the compiler's source is not large enough for the name. :-(

    I've changed the names of most of the library routines to make them clearer...
  16. Re: Modification of program code by data in external memory

    Not as easy as it sounds Geoff. But there are several mechanisms.

    1. Create a bootloader that reads from an SD card or FRAM etc, and bootloads the full program, but with different equations. This...
  17. Les has just uploaded Proton Compiler Update 3.6.1.2 - 1.0.5.0!

    Les has just uploaded Proton Compiler Update 3.6.1.2 - 1.0.5.0!

    Proton Compiler Update 3.6.1.2 - 1.0.5.0

    **Important**
    This is an update to an existing compiler setup. So do not uninstall a...
  18. Replies
    10
    Views
    11

    Re: HPWM low frquency limitation

    Here's a small program that creates interrupt driven PWM signals from any 2 pins (pin amounts can be increased or decreased). The PWM signal operates in the background,.

    It operates up to 16-bit...
  19. Replies
    1
    Views
    2

    Re: Version 3.6.1.0 SDEC modifier

    Sorry about that Selcuk. It was a simple typo in one of the functions of the compiler that caused such chaos. That's the thing with complex programs, a small issue that doesn't get noticed can cause...
  20. Les has just uploaded Proton Version 3.6.1.1 Update Patch!

    Les has just uploaded Proton Version 3.6.1.1 Update Patch!

    Here is an update patch for the 8-bit Proton compiler that corrects the DecX and SDecX modifiers with serial and LCD commands.

    It will...
  21. Replies
    26
    Views
    27

    Re: Which IDE are you all using?

    You may have seen it before, but here's a good site for Regular expressions with Delphi.

    https://www.regexbuddy.com/delphi.html
  22. Replies
    17
    Views
    18

    Re: Sub-EndSub and Gosub-Return

    The PIC24 devices are actually easier to use than the 8-bit devices because Microchip have kept SFRs and bitnames etc in order, the same for the peripherals. They operate the same on most of the...
  23. Replies
    17
    Views
    18

    Re: Sub-EndSub and Gosub-Return

    John is correct. A Sub-EndSub is the same as Label-Return.

    Adding Sub-EndSub came about because of a silly chip that is being promoted in the mags. It is an interpreted BASIC running on a PIC32!...
  24. Replies
    26
    Views
    27

    Re: Which IDE are you all using?

    John.... I use your IDE as standard now!

    It is what I said it is "it is excellent"! It is designed and built by someone who puts their heart into it, and uses the compiler it is designed for,...
  25. Replies
    26
    Views
    27

    Re: Which IDE are you all using?

    You are all in for a treat with it. It is excellent!
  26. Re: Test with Proton 3.6.1.0. The labels disappear

    Unfortunately not.

    The IDE would need an update also. However, Johngb is creating a wonderful new IDE for the compiler.
  27. Les has just uploaded Proton Version 3.6.1.0 Update with Sub-EndSub!

    Les has just uploaded Proton Version 3.6.1.0 Update with Sub-EndSub!

    [FONT=Arial][SIZE=1][FONT=Arial][SIZE=2]Here is an update patch for the 8-bit Proton compiler that adds the [B]Sub-EndSub, and...
  28. Les has just uploaded Proton Version 3.6.0.9 Update with Sub-EndSub!

    Les has just uploaded Proton Version 3.6.0.9 Update with Sub-EndSub!

    Here is an update patch for the 8-bit Proton compiler that adds the Sub-EndSub, and ExitSub directives for a more structured...
  29. Replies
    25
    Views
    26

    Re: Just to let you know

    I don't understand the question fully Gary?

    However, to the underlying program, a Sub is simply a subroutine name, so a Goto will find it, but you cannot Return from a Goto, otherwise you will get...
  30. Replies
    25
    Views
    26

    Re: Just to let you know

    For now, a Goto Main, or a Sub named Main will need to be done, but I am working on the same mechanism as used in Proton24, where a Sub is only placed in the program if it is called, then it is...
  31. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Yes. AC is always better for water detection.
  32. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Time well spent Henk. And I know it was enjoyable for you?
  33. Replies
    25
    Views
    26

    Just to let you know

    Just to let you know, I have added Sub-EndSub to the standard Proton compiler for the next update, so that subroutines can be wrapped, and Johngb's excellent new IDE can fold them. These are an...
  34. Replies
    5
    Views
    6

    Re: Same code different pic

    Stephen is absolutely correct. Try a simple piece of code that toggles an LED, and see if the LED flashes at the correct rate, or do an Rsout or Hrsout command and see if the Baud matches on a...
  35. Replies
    15
    Views
    16

    Re: Re. latest vweaion 3.6.0.7

    They haven't made the change yet, but they do have the name DDRB as well as TRISB etc in the inc files, so a change is bound to happen at some point.
Results 1 to 35 of 100
Page 1 of 3 1 2 3