Configure Debug @ runtime?


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default Re: Configure Debug @ runtime?

    I think the delay is computed at compile time, and it would probably not be too easy to modify. However, you could simply 'lift' one of the many ASM bit-bang RS-232 routines that exist all over the net and just 'drop it in' with ASM...ENDASM. The routines are generally smaller than 256 bytes, so they should not break PBP's limit. You can define the local (to the ASM routine) vars normally, but the ones that you transfer to/from PBP should be declared as BANKA SYSTEM.
    Charles Linquist

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: Configure Debug @ runtime?

    Quote Originally Posted by Charles Linquis View Post
    I think the delay is computed at compile time, and it would probably not be too easy to modify. However, you could simply 'lift' one of the many ASM bit-bang RS-232 routines that exist all over the net and just 'drop it in' with ASM...ENDASM. The routines are generally smaller than 256 bytes, so they should not break PBP's limit. You can define the local (to the ASM routine) vars normally, but the ones that you transfer to/from PBP should be declared as BANKA SYSTEM.
    Thanks, Charles. I'm trying to use some dialect of Basic for everything in the project. Since the PICs all use bootloaders, I may just create multiple firmwares that support different (slower) baudrates if I cannot find another solution. Most Home Automation devices use 2400-19200 so I may just leave higher rates for those who want to roll their own.

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default Re: Configure Debug @ runtime?

    I'll buy some of your stuff. Where?
    Charles Linquist

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: Configure Debug @ runtime?

    Quote Originally Posted by Charles Linquis View Post
    I'll buy some of your stuff. Where?
    I'm expecting to have prototype PCBs in about 2-3 weeks. Once debugged yourduino.com (and possibly a couple others) will distribute them.

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: Configure Debug @ runtime?

    I still have to delve into the ds30 bootloader documentation but, from a post to their forum, it appears it can be configured to invert the data so there's no need for DEBUG/DEBUGIN after all.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts