Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:11 11 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMX Help needed

     Page 3 of 3    
Author Message
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2959
Posted: 06:57am 20 Mar 2018
Copy link to clipboard 
Print this post

With the 'solder flood method' involving wick 'clean-up' - you do still need to then run a wet tip over the pins to give a nice clean (and secure) finish. The iron needs to be used very gently so as to avoid putting any pressure on the thin pins - otherwise the pins can bend and become close to the neighbouring pin).

Side-profile pictures would help highlight any soldering/shorting/bridging issues.Edited by WhiteWizzard 2018-03-21
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10570
Posted: 07:56am 20 Mar 2018
Copy link to clipboard 
Print this post

  Quote  ust for clarification can you explain why the manual has two options for the PGD and PGC pins?


You can use either pair. In the case of this PCB the other pair is pin 5 of the 40-pin header and the right audio channel
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 05:28am 21 Mar 2018
Copy link to clipboard 
Print this post

There seems to be a glimmer of hope...........

Connecting to MPLAB PICkit 3...

Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.46.14
Firmware type..............PIC32MZ

Programmer to target power is enabled - VDD = 3.300000 volts.
Target Device ID (0x7222053) is a valid Device ID but does not match the expected Device ID (0x7227053) as selected.
2018-03-21 15:56:34 +1100 - Programming...

Device Erased...

Programming...

The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x12dfff
boot config memory
configuration memory
Programming/Verify complete
2018-03-21 15:58:30 +1100 - Programming complete
Pass Count: 33


This is from the first board I loaded.

I will put it down to my soldering techniques not the PCB or design. I have gone over the pins a few times with plenty of liquid flux and a very small amount of solder on the tip. ( I am using Jaycar Pencil Soldering Iron . I could see the heat follow from the pad to the pin and moved on to the next.

My current limitation seems to be the lack of magnification for my eyes using the illuminated lens. I think it is 5X magnification and I think 10X would be better.

My continuity testing from the shoulder of the chip to the various pins must have had enough pressure to make the pin contact the pad.

I have tried to access the chip via the console but still no joy will delve in deeper as time permits.

OA47
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10570
Posted: 08:33am 21 Mar 2018
Copy link to clipboard 
Print this post

  Quote  I have tried to access the chip via the console but still no joy will delve in deeper as time permits.


Glad you are making progress finally. To get the chip fully working the oscillator needs to be in place (and the two potential divider resistors if using a through-hole 5V oscillator). Install the heartbeat LED and if that is flashing MMBasic is runningEdited by matherp 2018-03-22
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 08:13am 23 Mar 2018
Copy link to clipboard 
Print this post

Now that I think that I have a lot less dry solder joints on the PIC, I am learning to drive the beast.

Can someone give me a pointer as to why TTS does not work

TTS "Hello"
Error:Not Enough Memory

mm.ver=5.0414

 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10570
Posted: 08:30am 23 Mar 2018
Copy link to clipboard 
Print this post

  Quote  Can someone give me a pointer as to why TTS does not work


Please let me know what options you have set and I'll try and replicate
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 08:45am 23 Mar 2018
Copy link to clipboard 
Print this post

Here are the current options:
OPTION LIST
OPTION CPU 200
OPTION COLOURCODE ON
OPTION DISPLAY 24, 53
OPTION LCDPANEL VGA
OPTION KEYBOARD US
OPTION SDCARD 93, 94
OPTION LCDPANEL CONSOLE
OPTION RTC 15, 16
OPTION HEARTBEAT ON

Thankyou Peter, OA47
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10570
Posted: 10:12am 23 Mar 2018
Copy link to clipboard 
Print this post

The error was real in that OPTION LCDPANEL VGA leaves 194K free. TTS uses a memory buffer allowing 10 seconds of speech at 22050 bytes per second so the buffer couldn't be allocated.

Attached is a version where I have reduced the buffer to 8 seconds. This seems to be safe as there is also a limit of 32 phonemes which shouldn't create a buffer overrun. The TTS code is a port someone did from 30 year old assembler and doesn't include buffer overflow checking but hopefully this version won't crash

2018-03-23_201142_MMX5.04.15.zip
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 1013
Posted: 11:01pm 24 Mar 2018
Copy link to clipboard 
Print this post

@ Matherp Thank you for going the extra mile in not just identifying the cause of the issue, but also returning with a fixed program version.

OA47
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025