Search Results - Proton BASIC community web site


Search:

Type: Posts; User: xldaedalus

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Re: Compile to HEX from Assembler plugin - HELP

    Yes, I know, I tried both.



    I don't know why either. All the errors thrown out was as if the ASM did not include all the CONFIG data contained in the MCU file. As suggested, if I placed the...
  2. Re: Compile to HEX from Assembler plugin - HELP

    Yes. A clever idea. Sounds much easier way to do it and one better suited for a 10,000+ line program! Thank you.
  3. Re: Compile to HEX from Assembler plugin - HELP

    I see. Of course. Good idea. I'll try that and see what happens. Thanks!
  4. Re: Compile to HEX from Assembler plugin - HELP

    Yes, of course. I wanted to try to modify an already compiled program, not add a few lines of assembly.
  5. Compile to HEX from Assembler plugin - HELP

    I'm using 3.7.0.9 of the compiler. I compiled a working .BAS program. I generated the .ASM file using Assember(ver 2.0.0.0), made some modifications to the ASM that I'd like to test, and saved it...
  6. Re: Preview of updated Proton Compiler Manual

    I love that drawing because its something young people would find friendly and unintimidating. It reminds me of the Forrest Mims books that taught me electronics when I was a kid. It also reminds me...
  7. Re: Preview of updated Proton Compiler Manual

    Les,

    We have 2 3D printers at work. Airwolf Axiom, the other is a Dremel. Each has its issue. Send me your 3D files and I'll have them printed for you. I can send them back Global Mail at no...
  8. Replies
    5
    Views
    6

    Re: IDE on MAC running Parallels

    Parallels is pretty cool. It's very easy to allocate all the RAM you want, and restart Windows. So, with 16Gb on the Mac, allocating 8Gb is easy, which is what I had on my real world machine.
    ...
  9. Replies
    5
    Views
    6

    Re: IDE on MAC running Parallels

    No, not a "variable" per se, TMR6ON is a symbol for T6CON.2

    Symbol TMR6ON = T6CON.2

    And before anyone comments that you can't use symbols as "variables", you can, as long as they reference...
  10. Replies
    5
    Views
    6

    IDE on MAC running Parallels

    After compile, in the results window, an ERROR is reported:

    ERROR:[Line 1775] : Variable 'TMR6ON' is not found! (lee)

    I hover mouse over it, and it underlines,

    ERROR:[Line 1775] : Variable...
  11. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Ok, I think the problem is solved - in a way.

    This was in my config settings.

    PBADEN=OFF ' PORTB<5:0> pins configured on reset


    PWRTEN=On ' Power-up Timer Enabled
    BOREN=On '...
  12. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Still struggling with this strange problem. I put buffer variables in the declares to prevent array over runs change the variables value. I triple buffered the PORTx read value. Still, at seeminly...
  13. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Well, I think I solved part of the problem anyway.

    In my project, I was forced to use the OLED as 3 wire SPI. This meant sending 9 bit SPI packets. I had to do this by bit banging the 9th bit...
  14. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Well, time to fail is all over the place, and the symptoms of the "freeze" are all over the place.



    Hahaha! You and me both! Its a lot of extra typing! I name my variable with Capital but...
  15. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Sorry to say, ISIS did NOT find the bug. Its still there. I did a bad job of explaining. Forgive for my poor typing skills. I'm partly dyslexic, so I often see words that aren't there because I...
  16. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Thanks. It didn't make a different, besides if the RAM stack was filling up by bad code, a bigger stack would just take longer to fill up. It would just take longer to crash. I put LED traps in...
  17. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Maybe the compiler has changed. I always add a

    Declare Stack_Size 20

    at the top of my program because I thought it created 20 bytes of RAM for passing variables back and forth for doing...
  18. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    I now this the problem is that, somehow the values in RAM are switched somehow, something suddenly puts them out of order

    PortBstate = PORTB 'PUT action store value to RAM address PortBstate

    ...
  19. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    On the 18F46k22 pin 12 is NC, pin 31 is the CS pin for SPI and 32 is a logic pin. Pin 11 has a 1uF cap on it. I assume you mean me to use bypass caps on all of the power pins of the chip. Yes, I...
  20. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Well, for what its worth, there does now seem to be a change, not sure whether related to adding the debouce caps to the switches or changes to ANSELB / ANSELE.

    The buttons seem to work, without...
  21. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    attached is a PDF of the relevant circuitry, its more or less standard switch circuitry. Active low, PORTB should return 1 is switch is not pressed. 0 if it is pressed.

    3565
  22. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    I checked all PORTB interactions. There are none. No writes, not other checks. As I mentioned, RB0 is wired to be a overcurrent interrupt on change INT0, but that code is currently commented out. ...
  23. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Don't know how the space got between the % and 00011110

    Current code attempting:

    If PortBswCheck = 0 Then 'check switch every so often
    OldPortBstate = PORTB
    PortBswCheck = 1
    GoTo...
  24. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    I'm sorry. My circuit is using an 18F46k22. The 18F26k22 doesn't have a PORTE. I apologize for any confusion. I use the 18F26k22 in 4 or 5 other devices, so, its on my brain.

    The 3 main...
  25. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    The GIE = False (0) and GIE = True (1) are there to prevent the code from being interrupted. It doesn't see to work anyway, but it isn't the problem.

    As suggested, it is possible something...
  26. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    PortBswCheck increments from 255 to 0. When it has tried to read the switch 256 times, I try to reset the internal PORTB latch with a bunch of different code. You see, the switch code works...
  27. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    As I explained, I was trying everything I could think of to fix the problem. The code isn't the problem, because, as show, it works just fine. The problem is something, somehow to freeze the lower...
  28. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    Thank you, Stephen. There are 15,000 lines in the program, I can' post it all, it would be very hard to understand. GIE is not aliased. It is only there because I thought if I stopped this section...
  29. Replies
    36
    Views
    37

    [SOLVED !] Re: Mysterious PORTB problem

    I'm not sure how. The PICKIT programmer is attached, but not doing anything, so, electrically speaking those two pins are slightly different than the others. I tried it without the programmer...
  30. Replies
    36
    Views
    37

    [SOLVED !] Mysterious PORTB problem

    I'm using Proton+ to develop firmware for a product with switches. The MCU is an 18F26K22. Most of the switches reside on PORTB. I am NOT using a PORTB interrupt on change, but I am checking the...
  31. Replies
    7
    Views
    8

    Re: Coming out of an ISR

    Sorry! I fixed the problem, and it wasn't exactly an ISR error.

    In restarting the code for a new DMX frame, I added

    SPEN1 = False
    NOP
    SPEN1 = True

    When I commented this out, the problem...
  32. Replies
    7
    Views
    8

    Re: Coming out of an ISR

    I have a related problem, and don't know how to fix it. I'm using an 18F46k22 at 32mHz with PLL. I have a serial port constantly receiving bytes from a DMX source. I'm using Les' new >255 arrays. ...
  33. Replies
    11
    Views
    2,433

    Re: PP_FRF not found

    I've moved all the CDATA declares to the end. I've commented out the includes, then commented out the CDATA declares. I tried LDATA and LREAD8. Only once did it produce an .asm file, which had...
  34. Replies
    11
    Views
    2,433

    Re: PP_FRF not found

    FYI

    I placed the following CDATA line at the point in the code immediately following the CONTEXT RESTORE of the InterruptLow. This is the same location where my subroutines start:
    ...
  35. Replies
    11
    Views
    2,433

    Re: PP_FRF not found

    I'm getting the same error. Specifically "_PP_FRF". This implies some post compiler error. The Compiler never goes beyond Pass 2.

    What was the final solution? My code has 11,000 lines - too...
Results 1 to 35 of 100
Page 1 of 3 1 2 3