![]() |
Forum Index : Microcontroller and PC projects : PIC32MZ DM320104
Author | Message | ||||
kiaandre Newbie ![]() Joined: 21/11/2017 Location: FrancePosts: 18 |
Hello I come back to the forum, because I have been blocking for several weeks concerning the dialogue between the DM320104 PIC32MZ2048EFM100 and MMEDIT card, As indicated on the forum: https://www.thebackshed.com/forum/ViewTopic.php?TID=9689&PID=106658#106658 I think I have loaded the firmware MMEX5.4.04 hex with MPLAB X IPE ICSP PCKIT3 , I have the correct message, I try to communicate by the console USB / Serial FTDI 232RL which connects well but impossible to load a program - Thank you for your help ![]() ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Doe it module work using TeraTerm or Putty? Can you use the internal editor? If so, make sure that you have a suitable syntax file selected in MMEdit. The correct syntax file tells MMEdit which commands to use when uploading programs. You can also try loading programs using "Load" from the Chat window instead of "load and run" in the editor window. Jim VK7JH MMedit |
||||
kiaandre Newbie ![]() Joined: 21/11/2017 Location: FrancePosts: 18 |
The pic32mz card is quite difficult to understand, Thank you for helping me, I followed your recommendation but nothing or done, impossible to communicate. Here is the state of my material The DM320104 card is powered by the USB J12 connector, the Jumper J8 is removed, the jumper J13 is in place, the leds D1 D2 D3 are on, the led LED1 flashes red, to communicate between the PC and the PIC32MZ, I installed a "USB UART Click" module on the Mikro BUS 1 Here is the report of MMEDIT Starting process... Chat closed File manager closed Connection Handle: 72353864 0 Break... Break... Break... Break... Break... Break... Break... Break... Break... Break... Break... Break... Break... Break... Break... sending NEW Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Clearing... Checking device... Checking version... Micromite_eXtreme_5.3 MMBasic Version V 0.0000 detected Sending C:\Users\ANDRE\Documents\temp.bas Blocks:1 Failed to start Saving program excuse me, I translate with Google Thanks for your help Edited 2020-04-28 13:17 by kiaandre |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Do not use MMEdit Use a terminal program such as TeraTerm or Putty. When you have that working, we can try MMEdit. Jim VK7JH MMedit |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
That report of MMEDIT that you are showing is what you see when MMEdit is not communicating with the board. You say "it connects well" but what does that mean? Can you check with Windows Device Manager which serial port the board is connected to? MMEdit or TeraTerm must be set to communicate over that serial port. The windows port must be set to the correct baud rate (38400 baud, 8 bit, no parity). TeraTerm and MMEdit must be set to the same. If you have that correct, push the reset button on the board and you should see on TeraTerm (or in the chat window in MMEdit) the MMBasic start message. I see in that the picture on the link you posted that there is a USB cable plugged into the USB connector (J12) is that the one you are using? Good luck Bill Keep safe. Live long and prosper. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
The correct pins for the console are PF0 (console-RX) and PF1 (console-TX). The Click port doesn't use these pins so it can't work. They appear to be available as pins 2 and 3 on the PHY Daughter Board HDR. You need to connect an external USB/UART to these pins. Edited 2020-04-28 17:10 by matherp |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
Which crystal is populated on the board. X2 or Y2. Should have the 24Mhz at X2 position populated. Latest F4 Latest H7 FotS |
||||
kiaandre Newbie ![]() Joined: 21/11/2017 Location: FrancePosts: 18 |
I check all this info this afternoon and keep you informed |
||||
kiaandre Newbie ![]() Joined: 21/11/2017 Location: FrancePosts: 18 |
Hello, following your advice, I have all checked, removed the UART CLICK USB module, I stayed in USB by J12 and press the MCLR button and the card is connected, then I went through TERATERM and OUF the pic32mz I answered, then went through MMEDIT and it works too. Sometimes it’s just a little detail that gets you stuck, your answers help me and I thank TassyJim, Turbo46, matherp, disco4now for your help, the adventure continues with the pic32mz, see you soon ![]() ![]() ![]() ![]() |
||||
SWA-Guy Newbie ![]() Joined: 01/02/2019 Location: GermanyPosts: 24 |
Hello Guys, I've here also two Curiosity boards working fine with firmware V5.4.04. But if use any later firmware the serial USB-communication with USB-J12 not works. Is there anything to config or is there a bug? The communication with Console RX/TX over a USB/UART adapter works evertime. Thanks for a answer. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
I made a decision to re-purpose the USB port as a keyboard host rather than a serial console sometime during the various development phases. All my PCBs use an external Microbridge that can act as both a USB serial adapter and a programmer. In-built USB serial ports are not ideal as the serial connection drops every time the processor is reset |
||||
SWA-Guy Newbie ![]() Joined: 01/02/2019 Location: GermanyPosts: 24 |
Hello Peter, I understand. Thanks for your quick a answer and a big thank you to you, Geoff and the others from the team for the Colormaximite 2. |
||||
kiaandre Newbie ![]() Joined: 21/11/2017 Location: FrancePosts: 18 |
Hello, Concerning the purchase of development boards in MMBASIC, or buying them in Europe? Thank you |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
All the gerbers are here. You can also contact Micromite.org (WhiteWizard) who may have some available. The cheapest way to get high performance MMBasic is either the ArmmiteF4 or the ArmmiteH7 both of which run on widely available commercial stock boards Edited 2020-05-04 04:07 by matherp |
||||
kiaandre Newbie ![]() Joined: 21/11/2017 Location: FrancePosts: 18 |
The DM320103 ----> firmware Micromite plus --------> PIC32MX470F512H The DM320104 ----> firmware Micromite Extreme -----> PIC32MZ2048EFM100 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |