• Content Count

  • Joined

  • Last visited

  1. I'm pretty confident I am following instructions to the letter but it's possible I am doing something wrong. But any assistance here would be great. MPLab X (5.20), XC32 (2.10), Arduino 1.8.10, Chipkit Library 2.10, Importer 1.0.6 (All the latest), Target Board is Pro MX 7. The latest importer states these versions should be acceptable because of the whole "or later" caveat. I've added photos showing I'm my directories (pretty sure they're all pointing to the correct location I'm trying to upload the Chipkit Wire - Master Reader .ino file. I select the Pro MX 7 in Arduino IDE, open the sketch, and save it to a different folder. Is that possibly the wrong step? Just spit balling. Is there some grand secret to making this work that I don't know and the internet refuses to tell us? Here's what that last photo says: java.lang.RuntimeException: java.lang.NullPointerException at com.microchip.mplab.nbide.embedded.chipkit.importer.ArduinoBuilderRunner.preprocess(ArduinoBuilderRunner.java:109) at com.microchip.mplab.nbide.embedded.chipkit.importer.ArduinoBuilderRunner.preprocess(ArduinoBuilderRunner.java:84) at com.microchip.mplab.nbide.embedded.chipkit.importer.ChipKitProjectImporter.preprocessSourceProject(ChipKitProjectImporter.java:307) at com.microchip.mplab.nbide.embedded.chipkit.importer.ChipKitProjectImporter.execute(ChipKitProjectImporter.java:174) at com.microchip.mplab.nbide.embedded.chipkit.wizard.ImportWorker.importChipKitProjectFiles(ImportWorker.java:275) at com.microchip.mplab.nbide.embedded.chipkit.wizard.ImportWorker.createProjectFromChipKit(ImportWorker.java:189) at com.microchip.mplab.nbide.embedded.chipkit.wizard.ImportWorker.invokeImporterTasks(ImportWorker.java:144) at com.microchip.mplab.nbide.embedded.chipkit.wizard.ImportWorker.doInBackground(ImportWorker.java:94) at com.microchip.mplab.nbide.embedded.chipkit.wizard.ImportWorker.doInBackground(ImportWorker.java:72) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at com.microchip.mplab.nbide.embedded.chipkit.importer.ArduinoBuilderRunner.lambda$findMainLibraryPaths$0(ArduinoBuilderRunner.java:191) at java.lang.Iterable.forEach(Iterable.java:75) at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080) at com.microchip.mplab.nbide.embedded.chipkit.importer.ArduinoBuilderRunner.findMainLibraryPaths(ArduinoBuilderRunner.java:186) at com.microchip.mplab.nbide.embedded.chipkit.importer.ArduinoBuilderRunner.preprocess(ArduinoBuilderRunner.java:99) ... 14 more
  2. I definitely appreciate your help, @JColvin. Right now, I'm just wondering if it's possible to change the bootload hex available on Digilent's website for the ProMX7.
  3. As far as I can tell, the UECIDE TCP examples are verbatim what they are in Arduino IDE. UECIDE supposedly a modern version of MPLAB so it's apparently specifically designed for CK/Digilent stuff. Anyways, I was able to build a hex in the UECIDE and upload it onto my ProMX7 through the Debug Chip via MPLab. If I can do that, I'd imagine that means the ICD 4 would work just the same. The next big question: do you know where the chip clock portions are in which .h file? I'm guessing the p32xxxx.h file while I am currently digging through, but it looks like there are more header layers to be digging.
  4. Quick context: I designed new board using the ProMX7 as a reference. I designed it to specifically use the ICD4. I did not design any of the USB items into it, specifically the UART option for programming via Arduino IDE or UECIDE after flashing the appropriate HEX. It's too late into the project to add a USB option. Question: Am I restricted to MPLab X IDE to use the ICD 4? I've been using UECIDE at the moment with the Pro MX7 and have gotten pretty far in the code but I'm starting to wonder if this is a dead end as I will need to program it all in MPLab. Meaning different boot loader and etc. This would be a non-issue except for the available TCP examples in UECIDE preventing any need to re-invent the wheel. Thoughts? Musings? Concerns? Further explanations? Answers? Appreciate any and all help.