Overtone Labs

Mike Watts
  • Male
  • Mount Pleasant, SC
  • United States
Share on Facebook Share Twitter
  • Blog Posts
  • Discussions (42)
  • Events
  • Photos
  • Photo Albums
  • Videos

Mike Watts's Discussions

Need Bootloader source code to change config bits
2 Replies

Dan (and whoever else can help!), I have developed a product using the CUI32 as the development platform.  It has been great, very useful. However, I need to modify the config bits in order to use…Continue

Started this discussion. Last reply by atta williams Jun 18, 2012.

Porting from the PIC32 Starter Kit to the CUI32?
3 Replies

Hi all,I've written a system in C on the PIC32 II USB Starter Kit.  It runs fine on the Starter Kit.  Now it is time to move it to the PIC32.  I figure I'm in for some fiddling to get the USB stack…Continue

Started this discussion. Last reply by atta williams Jun 18, 2012.

How to pass a digital output as a function argument?
2 Replies

In C I'm trying to figure out a good way to pass a hardware variable, in this case a digital output to a function.  Compiler won't let me - which I think I understand because the digital output is…Continue

Started this discussion. Last reply by atta williams Jun 18, 2012.

Why does one project produce code that runs while another does not?
10 Replies

I'm having a problem getting the C code I write to run on the CUI32.  It compiles and loads and verifies but does not run.I took the switch.zip file from this site and compiled it and it loaded,…Continue

Started this discussion. Last reply by atta williams Jun 18, 2012.

Gifts Received

Gift

Mike Watts has not received any gifts yet

Give a Gift

 

Mike Watts's Page

Latest Activity

Mike Watts replied to Mike Watts's discussion Need Bootloader source code to change config bits
"You all are too polite.  Somehow I overlooked the source code for the bootloader on the google code site.  I have it now.   Thanks, Mike"
Oct 25, 2011
Mike Watts posted a discussion

Need Bootloader source code to change config bits

Dan (and whoever else can help!), I have developed a product using the CUI32 as the development platform.  It has been great, very useful. However, I need to modify the config bits in order to use the Watchdog Timer.  This has to be done to the bootloader source code, since the config bits reside in the boot flash area and must be programmed at the same time the bootloader code is programmed.  I see the bootloader hex file in the download section.  But I need the source code so I can change the…See More
Oct 14, 2011
Mike Watts replied to Mike Watts's discussion Porting from the PIC32 Starter Kit to the CUI32?
"I don't know what was causing the problem. I started a new project placed copies of all the files in that project and setup all the build option and now it runs. I have inspected the Project Build Options in both projects in great detail and do…"
Dec 1, 2010
Dan Overholt replied to Mike Watts's discussion Porting from the PIC32 Starter Kit to the CUI32?
"Hi Mike, I don't have a starter kit, so haven't tried this - but the "Switch" example Markus Gritsch made works fine for me on both MPLAB 8.x and the new MPLAB X IDEs... it's about as simple as what you're trying to…"
Nov 29, 2010
Mike Watts replied to Bruce Robertson's discussion Voice Codec and Satellite Tracking Projects
"Alright Bruce, who did you bride to get that great call?? I'm reading your site and trying to catch up on what you have been doing. The blip video won't play and the LVBTracker link is broken (both on the qrpTracker page). Do you happen…"
Nov 19, 2010
Mike Watts posted a discussion

Porting from the PIC32 Starter Kit to the CUI32?

Hi all,I've written a system in C on the PIC32 II USB Starter Kit.  It runs fine on the Starter Kit.  Now it is time to move it to the PIC32.  I figure I'm in for some fiddling to get the USB stack to run on the CUI32, but I'm not trying to make that work just now.I'm just trying to turn on the LED at the beginning of the code.  ie:void main(void){    LATE &= 0xFFF8;    TRISE &= 0xFFF8;    LATEbits.LATE0=0;   while(1);   and hereafter follows all the code of the system, which I don't…See More
Nov 19, 2010
Mike Watts replied to Mike Watts's discussion How to pass a digital output as a function argument?
"FWIW I thought of a solution: I use a structure. Such as: #include #include struct LED { unsigned int ledport; unsigned char ledbit; }; turnonLED(light); main(){ struct LED…"
Sep 30, 2010
Markus Gritsch replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"Nice writeup. Thank you. "
Sep 21, 2010
Mike Watts replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"Ok, here's the write up on Using a MicroController to Perform Zero-Crossing Switching of Inductive AC Loads. If you don't want to bother to download it (it's a little bit large - I don't have winzip on this machine), it is also…"
Sep 20, 2010
Markus Gritsch replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"Sounds interresting. Maybe you want to post some photos, schematics, source code..."
Sep 18, 2010
Mike Watts replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"Thanks Markus. It is painful but I'm catching on. I've created my first real embedded C program. It controls relays that switch AC power to inductive loads on the zero crossing of the AC current going into the load. This protects relay…"
Sep 17, 2010
Markus Gritsch replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"The procdefs.ld file is from the Microchip bootloader example folder. You can find it there. And yes, a linker script is always used."
Sep 17, 2010
Mike Watts replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"No, I found the procdefs.ld file over on the CPUStick site. That discussion makes it clear the file is for that processor with the bootloader - although there is nothing in the file itself that says it is correct for the PIC32MX440F512. Do we know…"
Sep 17, 2010
Markus Gritsch replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"So you didn't search the forum for postings about the procdefs.ld file, well http://overtone-labs.ning.com/forum/topics/loading-and-running-newbie?commentId=3789944%3AComment%3A1678"
Sep 16, 2010
Mike Watts posted discussions
Sep 16, 2010
Mike Watts replied to Mike Watts's discussion Why does one project produce code that runs while another does not?
"Markus, Thanks for the help. Yes that file, when placed in the same directory as the source code file, makes it all work. However, it makes the simulator not work. So I have to remove it to simulate and then put it back to compile the code for the…"
Sep 16, 2010

Comment Wall

  • No comments yet!

You need to be a member of Overtone Labs to add comments!

Join Overtone Labs

 
 
 

© 2013   Created by Dan Overholt.

Badges  |  Report an Issue  |  Terms of Service