Search:

Type: Posts; User: HenrikOlsson; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    17
    Views
    743

    Re: Pic 18F26K40

    I'd say yes. But then again, my programs are usually not near the size of the memory size of the part in question and IIRC the bootloader does not reprogram the FULL memory while an ICSP device...
  2. Replies
    17
    Views
    743

    Re: Pic 18F26K40

    Hmm... My experience is the complete opposite. Using a bootloader is generally much faster than using ISCP (with a PK3 at least) - especially when loading small programs into chips with a lot of...
  3. Replies
    22
    Views
    1,698

    Re: PWM and audio noise

    I'm certainly no expert but can you show the schematic and PCB layout? It might give a better sense of what you're doing.
    I mean, are you dimming a LED or running an 500A TIG inverter with that PWM...
  4. Re: PBP3.1 Gold + MCSX+ + Microchip's ICD3 programmer?

    If you're using IPE then this thread might be helpful. It also targets the PICKit3 which is likely different from the ICD3 but as eagleman pointed out you should be able to find the corresponding...
  5. Re: SDI vs UART efficiency for wireless comms

    You mean SPI, not SDI right?
    SDI is a serial interface generally used for video and runs in the hundreds of megbits per second range, I don't think a PIC will cope with that :-)

    Technically, SPI...
  6. Replies
    5
    Views
    793

    Re: 18F26K42 TMR1 Interrupt troubles

    Hi,
    I don't have a definitive answer for you but here's a couple of things.

    First, if you haven't already, make SURE that you have Control of the pin where you have the LED connected. Make it...
  7. Replies
    15
    Views
    1,253

    Re: Unable to Open Include File

    Have you verified that the file extension is .bas and not .pbp?
    As long as the file is in the PBP folder or in the same folder as the source file from which you include the other file(s) it should...
  8. Replies
    42
    Views
    7,688

    Re: 18F2550 and Blink Led

    The oscillator block on the USB equipped devices are a bit complicated.
    It looks to me as if you're trying to run off of the internal oscillator at 8MHz (judging by OSCCON setting INTOSC to 8MHz)...
  9. Replies
    9
    Views
    748

    Re: EUSART vs. MSSP

    EUSART = Enhanced Universal Asynchronous Receiver Transceiver
    MSSP = Master Synchronous Serial Port

    Asynchronous means there is no dedicated clock line/signal, while synchronous means there IS a...
  10. Replies
    7
    Views
    540

    Re: PIC 18F46K22 Wierdness

    I believe it's basically the same issue as Ioannis had the other day when he tried to use HIGH/LOW on anything but a PORT register.

    Any command that automatically makes the pin in question and...
  11. Replies
    2
    Views
    373

    Re: lcd delay time

    If you look at the datasheet for the 44780 controller you can see the timing requirements, not all "compatible" controllers are equal though which is why PBP has the DEFINE LCD_COMMANDUS and...
  12. Replies
    9
    Views
    553

    Re: Good ol' 877

    HIGH/LOW are really only meant to be used on PORT registers.
    Those commands also clear the corresponding TRIS bit which is at certain offset from the register (PORT) in question. That offset is 80h...
  13. Replies
    67
    Views
    6,578

    Re: MicroCodeStudioPlus keeps crashing.

    Of course, and don't think for a second we haven't tried to but it really does feel totally random. Except for the fact that it has never ever (not for me at least) crashed when just sitting idle,...
  14. Replies
    15
    Views
    1,942

    Re: The book of dt interrupts

    You did ask Wayne for links to Darrels posts, I just wanted to make sure that you and/or Wayne hadn't missed the apparently obvious one, my appologies.
    I'd be happy to help where I can but setting...
  15. Replies
    15
    Views
    1,942

    Re: The book of dt interrupts

    You know about the "temporary" repository of Darrels work, right?
    http://www.picbasic.co.uk/forum/showthread.php?t=19638

    /Henrik.
  16. Replies
    67
    Views
    6,578

    Re: MicroCodeStudioPlus keeps crashing.

    If you read this thread on the MELABS forum you'll get some information and background to the problem. I just browsed thru it and see that I apparently had 80 logged crashes during the course of 2...
  17. Replies
    67
    Views
    6,578

    Re: MicroCodeStudioPlus keeps crashing.

    I've had MCSP crash on at least two different Machines, none of them DELL so no, that's not the key - either.
    It seems that everytime this issue is brought up people have forgot that it's been...
  18. Thread: Pbp3.1.1

    by HenrikOlsson
    Replies
    24
    Views
    2,045

    Re: Pbp3.1.1

    Since you're using assembly in the ISR there should be no issues as far as system variables goes. But, again, it's a completely different thing if start writing PBP code in the ISR.

    And just to be...
  19. Replies
    10
    Views
    962

    Re: Serial data transmission period

    Since your code executes about once every 5 seconds

    LoopCount VAR BYTE
    LoopCount = 0

    ' ------------------
    ' Rest of code goes here
    ' ------------------

    LoopCount = LoopCount + 1
  20. Re: Microcode studio problem with include

    1) I don't think it searches all open files, just the active tab. You can say that's a bug or feature or missing feature or whatever. Personally I'm fine with that but an option to search all open...
  21. Thread: Pbp3.1.1

    by HenrikOlsson
    Replies
    24
    Views
    2,045

    Re: Pbp3.1.1

    Well done! I have not got the update nor any K42's to play with yet.

    Regarding the vectored interrupts, don't forget that STILL can't use PBP inside your interrupt handlers, doing so without...
  22. Replies
    20
    Views
    1,365

    Re: High priority/low priority program parts

    So, now you're saying it does - sort of - work? No more 300ms delays?

    Regarding the LCD: You can try tweaking the default 1500us setting but it's highly dependant on the specific LCD module you're...
  23. Replies
    20
    Views
    1,365

    Re: High priority/low priority program parts

    If that's the complete code for the '88 it does not seem to be the culprit after all....

    The message being sent is 12 bytes, that's 6.35ms @19200 baud, then you have 500us pacing so that's Another...
  24. Replies
    20
    Views
    1,365

    Re: High priority/low priority program parts

    No, HSERIN/HSEROUT does not do handshaking automatically, in the background.
    The UART in the PIC can receive one byte/character (and almost a second full byte/character) without the code doing...
  25. Replies
    20
    Views
    1,365

    Re: High priority/low priority program parts

    HSERIN/HSEROUT won't make any difference on it's/their own.

    You need to look at the system level. Why is this code taking up to 300ms to execute? Because it sits here waiting for data for 300ms...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4