Search the Community

Showing results for tags 'mpide'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 14 results

  1. Hello Guys! I hope you can help me with some doubts. I am programming the Digilent card to use with internet, however the library the Chipkitethernet library is showing the following errors: Some time ago I had compiled this code in MPIDE and it worked, but I changed the computer and lost the libraries and MPIDE. Now I'm having this error. In file included from program_murilo.cpp:3:0: C:\Users\LSI\Documents\mpide\program_murilo/chipKITEthernet.h:109:18: error: conflicting return type specified for 'virtual void Client::write(uint8_t)' C:\Users\LSI\Desktop\Murillo Gentil\mpide\mpide-0150\hardware\pic32\cores\pic32/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)' C:\Users\LSI\Documents\mpide\program_murilo/chipKITEthernet.h:111:18: error: conflicting return type specified for 'virtual void Client::write(const uint8_t*, size_t)' C:\Users\LSI\Desktop\Murillo Gentil\mpide\mpide-0150\hardware\pic32\cores\pic32/Print.h:53:20: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)' C:\Users\LSI\Documents\mpide\program_murilo/chipKITEthernet.h:147:16: error: conflicting return type specified for 'virtual void Server::write(uint8_t)' C:\Users\LSI\Desktop\Murillo Gentil\mpide\mpide-0150\hardware\pic32\cores\pic32/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)' C:\Users\LSI\Documents\mpide\program_murilo/chipKITEthernet.h:149:16: error: conflicting return type specified for 'virtual void Server::write(const uint8_t*, size_t)' C:\Users\LSI\Desktop\Murillo Gentil\mpide\mpide-0150\hardware\pic32\cores\pic32/Print.h:53:20: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)' somebody coud help me? Regards.
  2. I am unable to upload projects to my chipkit pro MX4 board using MPIDE. My code compiles, I have the correct board selected and comport. However when I try to upload my project to the board I get an error saying that it cannot connect to the comport and to shut down applications that are using it. Has anyone set up MPIDE and used the chipkit pro MX4 board?
  3. Has anyone gotten a 40 pin tft to work with a uC32? I have tried two different 40 pin tfts both with and without a shield and failed. I have been attempting to use the UTFT library. Both tfts work ok with shields on an AATAmega256 and a DUE. I am also compiling with MPIDE 0023-windows-20140821. I have heard there are some displays that do work Nokia 5110 and one other. But I feel their resolution is too small a foot print for my project. I'm looking for a minimum of 240x320. If you have a solution please provide links to hardware and software libraries required. Thanks
  4. I'm playing around with timer interrupts on the DP32 using Arduino and the ChipKIT Core. I was surprised to find out that this involves register manipulation. So I can set up timers using register manipulation in Arduino, but I can't seem to do anything else with register manipulation. For example, here is some code of mine which should set up a PWM signal on pin 13 (OC4) of the DP32 using register manipulation, instead of analogWrite() function. Problem is that it doesn't work and I can't figure out why. This problem is exacerbated by the apparent lack of documentation on any of the register manipulation functions(?) that I use to set my timers up previously. I know they work, but I only found them in a tutorial that doesn't explain where they come from, or much about them at all. So I have the following questions: Am I allowed to do register manipulation for more than just timers? Where can I find more information about how ChipKIT Core uses and defines these things? What am I doing wrong with my code? /******************************** Constants ********************************/ #define T3CON_ENABLE_BIT 0x8000 #define T3CON_PRESCALER_BITS 0x0070 #define T3_SOURCE_INT 0 #define OC4_ENABLE_BIT 0x8000 #define OC4_TIMER_SEL_BIT 0x0008 #define OC4_MODE_BITS 0x0007 #define OC4_MODE_PWM_SET 0x0006 // Prescaler values // Don't change these. Set the prescaler below using these. #define T3_PRESCALE_1_1 0 #define T3_PRESCALE_1_2 1 #define T3_PRESCALE_1_4 2 #define T3_PRESCALE_1_8 3 #define T3_PRESCALE_1_16 4 #define T3_PRESCALE_1_32 5 #define T3_PRESCALE_1_64 6 #define T3_PRESCALE_1_256 7 // Set the prescaler value we want to use #define PRESCALE T3_PRESCALE_1_256 // Current it's set to 1:256 // The DP32 runs at 40 MHz // The uC32 and WF32 run at 80 MHz #define CLOCK_FREQ 40000000 // Right now we're set for the DP32 // Set our target frequency // This is the frequency that our interrupt will run at in Hz #define T3_FREQUENCY 5 void setup() { uint32_t period; uint32_t cycle; uint32_t mask; // Disable everything T3CONCLR = T3CON_ENABLE_BIT; // Turn the timer off OC4CONCLR = OC4_ENABLE_BIT; // Turn OC4 off RPB2R = 0b0101; // Calculate the period we need for our given frequency if (PRESCALE == 7) period = 256; // 1:256 is a special case else period = 1 << PRESCALE; period = period * T3_FREQUENCY; period = CLOCK_FREQ / period; // Set up our timer T3CONCLR = T3CON_PRESCALER_BITS; // Clear the old prescaler mask = PRESCALE << 4; // Shift our new prescaler mask = mask | T3CON; // Mask our prescaler T3CON = mask; // Set the prescaler TMR3 = 0; // Clear the counter PR3 = period; // Set the period // Calculate our cycle cycle = period /2; // We want a 50% duty cycle // Set up our output compare OC4CONSET = OC4_TIMER_SEL_BIT; // Select timer 3 for source OC4CONCLR = OC4_MODE_BITS; // Clear our mode pins OC4CONSET = OC4_MODE_PWM_SET; // Set our mode to PWM w/out fault pin OC4R = cycle; // Set our cycle // Enable everything T3CONSET = T3CON_ENABLE_BIT; // Turn the timer on OC4CONSET = OC4_ENABLE_BIT; // Turn OC4 on } void loop() { }
  5. Hi Guys/Gals. Following a link to the NI Beagle Bone Black cape, came across this: It is used to drive four servo-motors with many bells and whistles so to speak. My application is a drive by wire actuator. I am sure this will work but it seems overkill. Anyone have a similar application and board recommendation that uses less real estate? Best, M
  6. I recently successfully completed a web server application for the chipKIT WF32 using the Digilent IP stack with the Arduino IDE. I wanted to see how difficult it would be to port the same web server application to the chipKIT PRO MX7 processor board. There appeared to be only a one or two lines of code that had to be commented out to make the conversion. The The Adruino IDE reported "No target found". So I backed off to the simple "ChipKIT_Blink" sketch and had the same result - "No target found". I reverted to the MPIDE environment using the same hardware and the sketch loaded and ran correctly. So I'm thinking the problem is with the Arduino IDE or the chipKIT core library. I am using Arduino rev 1.6.5 and Keith recommended removing R159 (no easy task for an older person and glued down R402 resistors.) Has anyone had any success programming the chipKIT PRO MX7 using the Arduino IDE?
  7. Hi, i'm trying to put together the ETHERNET demo example from the digilent website under the MX7 documents area (schematics, BLINKLED example,,etc... I downloaded the demo and try to install it into the MPIDE environment. While compiling the associated libraries, i get the following message: "The library chipKit network and USB libs-20150115 cannot be used. Library names must contain only letters and numbers) ascii only and no spaces..." The library contains several directories and files. Wich files need to be modified? Anyone has tried this demo example? Rob
  8. Hi guys, I'll looking to use 3 of the 5 compare pwm outputs available on the uC32. I would like to use them to generate 3 square waves all around 830Hz. They'll all be fixed frequency from the start of the program. I've seen the sample code in the datasheet, but I think there must be easier higher level functions I can call. I would like to send the output on the OCx pins. Can anyone point me in the direction of some resources for this? I can't seem to get anything out of the OC pins. Thanks, djcheezy
  9. From the album: Marshall's pics

    Compile errors indicate the wrong hardware is selected. double-check the correct board with this drop-down menu.
  10. Hello, noob here I just started a project for my university BEng and is based on the chipKit WiFire provided by my supervisor. So far, i felt in love wth MPIDE because is so easy to use and it has all ready for me with 1 exception. The Flowcloud library. For the first 2 months and so I just figured out how to use MPIDE because the boards were from flowcloud so the USB-to-serial cable didn't work so I burned the Bootloader with Digilent's firmware. But now, I lost the Flowcloud app from the PIC chip that my project depends on so much because is required to use a cloud service. Anyhow, my request is: Can someone please tell me how to add the Flowcloud libraries and example codes/functions to work with MPIDE? I really hate MPLAB X because is so complicated and has no examples. Thank you in advance. P.S. I already talked in Flowcloud developer forum about this issue but they told me this is Digilent/chipkit's domain to integrate flowcloud/MPLAB Harmony libraries with MPIDE.
  11. I am considering purchasing a Microchip DV102412 Wifi G demo board. It will be a standalone webserver so that it won't burden my Max32 being utilized as a aquarium controller. The DV102412 has a PIC32 onboard and runs under MPLAB X IDE. Can this also be programmed with MPIDE ?. I have started programming my Max32 with MPIDE and was hoping to not add another wrinkle to the mix. If not will I have trouble running the two PIC32's with different IDE's ? This is all very new to me and I am learning as I go. I have been involved with various operating systems since the early 70's and I am not shy of trying something new. Any and all suggestions would be greatly appreciated. Thank you, Rick
  12. How long should it take for the Mx4 PRO to program through MPIDE? I decided to start playing with it the other day and it never loaded the basic "Blink" sketch. The green status bar at the bottom of the MPIDE window never finalized. I double checked MPIDE with a uC32 and UNO32 and both loaded within a few seconds. I had the correct COM port and board selected and I know the Mx4 works since I've used it with MPLAB X before. The "blink" sketch was unedited. The USB cable was plugged into the UART port with the UART jumper connected for power. (Maybe I should have used the debugger USB port instead? I always used the UART with MPLAB X.)