Mplab 5.45 Download

0 views
Skip to first unread message

Flaviano Bada

unread,
Aug 5, 2024, 10:38:24 AM8/5/24
to trantacypop
Im brand new to any microcontroller programming and am playing around with the PIC10F200. I'm using MPLAB X 5.45 with XC8 2.32 pic-as compiler and I saw that most of the registers have constants declared in the .inc file associated with this chip (STATUS, TMR0, OSCCAL, GPIO, etc). Is there any reason that the OPTION register doesn't have constants (like T0CS) declared in either the .inc file or the .h file for the PIC10F200?

The OPTION register is a 8-bit wide, write-only register, which contains various control bits to configure the Timer0/WDT prescaler and Timer0. By executing the OPTION instruction, the contents of the W register will be transferred to the OPTION register.


Thus, the OPTION register is not mapped into memory and thus has no memory address (The constants in the include files are the memory addresses of the respective registers, so you can access them by name). It is written by loading the value to write into W and executing the OPTION instruction.


Hi,

First post here, i'd like to have an explanation.

Microchip's MPLABX 5.45 added a "MISRA Check" function that is just cppheck with the appropriate misra.txt file given "for free" by microchip.

By the way, i have the bought the standard (it's just pocket change), i tried to follow every guide i could find but i still haven't managed to generate a misra.txt file that works.


why?

first, is it permitted by the license? i haven't checked, but i suppose so.

did you agree to this? again, i suppose so but i haven't found a statement about this

Is it ethical? i say hell no.

Workarounds? I think it shouldn't be too hard to make my own button inside netbeans that calls cppcheck with the misra file (provided i can make my own misra txt file)


I welcome that tools/editors integrate Cppcheck. As long as they use unmodified Cppcheck I have no problem. But well I would appreciate if Cppcheck gets some credit in some way, i.e. mention somewhere that checking is based on cppcheck.. I don't know if Microchip does it.

They did not really ask for permission as far as I remember but I learned from an engineer before MPLABX was released with this feature and did say I thought it would be OK for me.


Hi where can I download the pickitgui for windows, the link on ucapps.de takes me to a page with to many options to look through, I have the pickit 3.5. Also does anyone have a download link for pkcmd2 for linux? Thanks


this is the first time I am burning a hex file onto a pic18f4685, I have pickit 3.5 and an expansion board for the pic18f4685 i connected it to the far right of the connector at the bottom of the pickit 3.5 the expansion board has 5 pins the pickit3. 5. 6pins. There are 4 settings for the jumpers on the expansion board pic10FX, DIP8/14 DIP 18/20, 16F57, and DIO40/28 I have mine set for PIC10FX, when trying to connect to the burner with chip connected in the expansion board I get the message


Hi I tried this and I am still getting the 3.3v error message and the "target device not found(could not detect target voltage vdd) you must connect a target device to use pickit 3" nessage, do you think my pickit3. 5 is damaged or mplad ipe v5. 45 is not compatible with pickit 3.5? Thanks.


I haven't used PickIt for MIDIBOX stuff but as I recall, if you're getting that error it may be because you need to elect to power the chip using power from the Pickit itself (as in the chip is not being powered externally). If it's for the CORE8 platform, it should be a 5V PIC. It takes some fiddling to get it working I found when I've had to use it.


Hi I am having success building cores and connecting the lcd(I have built 2) and having the black boxes appear on the bottom row of the lcd but when I program a chip with mplab ide or mbhp burner and power up the core witb mios studio connected it says the core is not responding. Please dwestbury can I send you a pic 18f4685 in the post to flash so I can work out if it is the pics that are the problem or my soldering and midi leads on the core, thanks.


I tried programming a chip with mplab ide 5.45 as i tried with mbhp burner but the ic socket broke (i am finding that the circular is much better than the flat so I am replacing) and the hex file downloaded from the pic has the same beginning and and end lines as the hex file but different inbetween, why am I so unsuccesful at getting mios studio to see the core, I built 2 cores and programmed chips with mplab ide and mbhp burner but mios always says no response from core, why am i so unsuccessful, is it my soldering, my midi lead or my chip programming? I hoped if i just follow instructions and schematics everything turn out just fine but not so, why?


My own posts in these forums can certainly attest to that. I spent days and days struggling through various dead ends, until I finally found a process that ultimately worked well for me (e.g., the document linked above).


Along the way, I realized that the MIDI interface I was trying to use (a Native Instruments Komplete Audio 6 Mk2) was not properly passing SysEx messages to my PICs via MIOS. This was one of my first issues. Unfortunately, I had completely destroyed my PIC and base PCB with all my removing and de-soldering and part replacements, while I worked that out. Now I have an 'iConnectivity MIO XL', which is one of the MIDI interfaces on the MIDIBox Interface Whitelist ( =midi_interface_whitelist).


Other issues I encountered included some mismatched capacitors on the crystal above my PIC, which made communication synch to MIOS impossible. I also had at least one bad PIC that accepted the bootloader from MPLAB, but wouldn't function at all in my MB-6582.


dwestbury, thank you for sending me the pre-programmed pics which I received with joy. Now I am testing them in my core which I tested the ic 1 & 2 voltages and all were correct, however when I plug the 1st pic in (I. d. 0) I just get a row of blank squares on the lcd, should I be seeing a ready message? Does this mean my core is defective? Is there any wiring on the core I may have missed (I remember reading something about an I. D. Jumper) please help as I would really like to get this going, best wishes Alistair.


In one of my builds I made the mistake of using the wrong capacitors, because I didn't check them properly before soldering. By outward appearances, they looked identical to the correct caps, but they had the wrong capacitance, which completely messed up the crystal oscillator timing being sent to the PIC. This took me quite a while to figure out...


Generally speaking, you can program it in C / C++ using a supported IDE, but the firmware for MB6582 is actually programmed in Assembly language, for both performance and space efficiency on the limited chip memory.


Hi I have managed to program my own pic on mplab ide and get a response from the core after going through some of the midi trouble shooting pages, I did a loop back test to find out how to set my midis port 2x2 correctly then soldered a wire between the rx and tx pins on the pic socket and put the pic in and powered up on the core and the core signal started feeding back f0 00 00 7e 40 00 01 f7 then I soldered an led between the tx and ground pins on midi out j12 and it lit up, but when I try and upload the midi hex file for the pic it says no response from core please reboot the core (e. g. turning off on power) then I do that and it says no response from core after 16 trys, what could be my problem, thanks.


I have also tried your preprogrammed chip, I'd 0000 0000 0000 0000 and I get some writing on the screen MidiboxSID V2. 044 and MIOS8 V1. 9h" but when I query the core I get bootloader is up and running not application is up and running any idea why? Thanks

3a8082e126
Reply all
Reply to author
Forward
0 new messages