Just skimed over AN1310. It sounds awesome, but of course it says it uses USART1 and of course I am setup for USART2
Maybe the firmware can be modified? I will also look at the alternatives listed at the end of the note.
Just skimed over AN1310. It sounds awesome, but of course it says it uses USART1 and of course I am setup for USART2
Maybe the firmware can be modified? I will also look at the alternatives listed at the end of the note.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Maybe the best choice here is to skip the bootloader for now. It may be I am just a bit overwhelmed with the choices, but getting it to work is really more important then being able to upgrade the firmware in the field. Maybe on the next board rev I will look at changing the usart's but I think I wanted the pins to make something else easy. I don't remember right now.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
EMC2...
Have you tried the new version using Ubunu 10 yet?
JDM
I do not normally sugest them but I have bult them into a board for cases like this. Being built in and tweaked for one chip helps their short comings.
Then use PikLab to squirt the hex.
Dave
Always wear safety glasses while programming.
Haven't tried the new version yet, but I have managed to get the live install on a USB drive and ready to install so I don't need a cd player. I imagine I will have it running over the holiday.
Jdm- I had never even heard about this programmer until I joined this forum. Building it onto the card is a cool idea, but it missed this rev. I guess I could just build one, but will it really be cost effective when a pickit2 is only $35 for just the programmer?
As an extra bonus, if I could do all this with ubuntu 10 from the machine controller, now that would be something.
Alas, I think it's prolly best to leave the field upgrade out of the equation for just now. And if I do that, I don't even need serial comm. Now I can just focus on getting the basic function done so the machines will work.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Is this project a one off sort of thing? If so then the PicKit2 will be cheaper in the long run.I guess I could just build one, but will it really be cost effective when a pickit2 is only $35 for just the programmer?
You can also use the PicKit2 on an Ubuntu box.As an extra bonus, if I could do all this with ubuntu 10 from the machine controller, now that would be something.
Dave
Always wear safety glasses while programming.
dave do you ever sleep?
About the project size, Of course we always hope somebody may want 1 besides us, at this point I am only focused on his and mine. For this I think pk2 is prolly best. I can even get him to buy his own!
I will prolly dig a little deeper into the I2C method. In the future it would be best to have a single serial connection to talk to both cards. I am sure there must be a way to not need the serial analyzer to do this. even if its a special built card that does rs232<->I2c. power levels can come from the target
yea Ubuntu!!!
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Darrel has a post in here somewhere that says how many instruction cycles an ASM type interrupt has, but I am having a heck of a time trying to find it. I remember it being substantially fewer than PBP type, but can't remember the number. I will try looking some more.
http://www.scalerobotics.com
http://www.picbasic.co.uk/forum/show...7587#post17587
70 cycles are mentioned.
Dave
Always wear safety glasses while programming.
Yes, 70 instructions cycles to save the registers, and 70 instruction cycles to restore them, but that is for PBP type interrupts. But for ASM type interrupts it is much shorter. I think it is something like 12 or 22 instruction cycles. But then, I can't find it in here or my brain.
Last edited by ScaleRobotics; - 2nd December 2010 at 22:44.
http://www.scalerobotics.com
Bookmarks