L

LambdaSpeak Speech Synthesizer, Sample Player, RTC, MP3, Serial Interface, MIDI

Started by LambdaMikel, 08:56, 01 May 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GUNHED

Quote from: LambdaMikel on 19:41, 06 March 19
https://github.com/lambdamikel/LambdaSpeak/tree/master/firmware/atmega644

This is a link to a directory, which contains confusing content. There is nothing I can burn on the ATMEGA644 MPU. Not helpful. Can you please attach a file which can be burnt in the CPU?
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Bryce

There are two (well labelled) directories: ls195-and-ls20 and ls199-and-ls21-with-spo256-al2 , both directories contain firmware HEX files for programming the AVR.The other two files are a TXT file (that stands for TEXT) and a jpg file (that's a picture). Where's the confusion?

Bryce.

GUNHED

Quote from: Bryce on 14:58, 07 March 19
There are two (well labelled) directories: ls195-and-ls20 and ls199-and-ls21-with-spo256-al2 , both directories contain firmware HEX files for programming the AVR.The other two files are a TXT file (that stands for TEXT) and a jpg file (that's a picture). Where's the confusion?

Bryce.

Yes, that's cool for hardware experts, but not for the regular CPC user. What's so hard in just posting a file which can be burnt? In addition, even after browsing through all this directories, I found nothing working. I had to click at several icons to get some RAW format which maybe(!) is an intel hex file. I burnt it and the LS provides 18 blinking signals, so probably it was wrong. Again: Please post the file-update itself. Anything else is super tedious and only for the experts of hardware - means less that 1% of the users. We (99%) just need a file that works.

EDIT: to make this clear, the firmware hex file you say is in the directory, can't be used by the programmer. It gave an error message. I needed to convert it by hand - not funny and sadly not working.

During these days I was never that frustrated by CPC hardware, it's lots of projects not working.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

LambdaMikel

Quote from: GUNHED on 16:09, 07 March 19
Yes, that's cool for hardware experts, but not for the regular CPC user. What's so hard in just posting a file which can be burnt? In addition, even after browsing through all this directories, I found nothing working. I had to click at several icons to get some RAW format which maybe(!) is an intel hex file. I burnt it and the LS provides 18 blinking signals, so probably it was wrong. Again: Please post the file-update itself. Anything else is super tedious and only for the experts of hardware - means less that 1% of the users. We (99%) just need a file that works.

EDIT: to make this clear, the firmware hex file you say is in the directory, can't be used by the programmer. It gave an error message. I needed to convert it by hand - not funny and sadly not working.

During these days I was never that frustrated by CPC hardware, it's lots of projects not working.
What programmer are you using? Unfortunately, I only know the MinPro v6.60 and G540 softwares.
I can post instructions for these. Did you change the fuses of the AVR by any chance?

As for the HEX file, yes it is just standard intel HEX, but it needs to be downloaded from Github as "raw", or you need to check out the whole projects ("clone / download as zip"). Save as will give you a HTML page.
Both the MiniPro and G540 software take the HEX files as they are, no conversion required...

Attached is the archive.

I can also work out a procedure for people that neither have an AVR programmer nor an EEPROMER. It is possible to update the firmware using an Arduino.

https://riktronics.wordpress.com/2016/07/26/program-avr-using-arduino-simplest-way/#more-621

But it is a bit tedious. I need to try this myself first, then I can write something about this process.
I belive @GUNHED already has an Arduino (nano) for Dandanator update, right?

LambdaMikel


LambdaMikel

It is important to either set the FUSE BITS etc. correctly, OR if you flash / program it, MAKE SURE that ONLY THE CODE MEMORY is getting flahsed, otherwise you might BRICK the AVR.

Check the checkboxes - unfortunately, I don't know your programmer software, so I can't give advice there.

LambdaMikel

Hang on, I just tried this myself and ran into a problem... I also got some blinking.   :( >:( Let me see what's going on... appologies if the files indeed should have become corrupted. Will know soon!

LambdaMikel

No, the firmware files are fine... I just flashed a brand new ATMega 644PA-20PU.
In the MiniPro, I can both selecte 644A, or 644PA, both work (depending on the chip you have!)In any case, I can use unselect "Check ID", and I can flash either with the 644A or 644PA
selected with the same settings.

These settings also work for updating the old chip.

LambdaMikel

Quote from: GUNHED on 16:09, 07 March 19
Yes, that's cool for hardware experts, but not for the regular CPC user. What's so hard in just posting a file which can be burnt? In addition, even after browsing through all this directories, I found nothing working. I had to click at several icons to get some RAW format which maybe(!) is an intel hex file. I burnt it and the LS provides 18 blinking signals, so probably it was wrong.
That is a good sign - your programmer succeeded, but messed up the Low Fuse Bytes for the clock settings!See screenshot of MiniPro... all Low Fuse Bytes must be unchecked, otherwise the ATMega uses a 4 or 1 MHz clock setting, and that results in visible blinking (compared to the 20 MHz) So, that is a good sign, you are on the right track! You only need to figure out how to change the Clock Fuse Byte Settings in your Programmer. As I said, I don't know the software you are using, so I cannot give advice there. But the procedure / flash itself is succeeding, so good news!

GUNHED

Eventually it all works fine. Thanks a lot!  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

LambdaMikel

Quote from: GUNHED on 00:20, 08 March 19
Eventually it all works fine. Thanks a lot!  :)


Great, you're welcome - if you hear Spanish for test2.bas then you are good.
The copyright message should also have changed and such.


remax

Quote from: LambdaMikel on 07:20, 04 March 19
Three more shipping tomorrow - thanks guys!
Seems the now fully working Spanish speaking mode is a sales argument  ;)


So i guess i have Spanish working ^_^
Brain Radioactivity

LambdaMikel


LambdaMikel



LambdaMikel

I am using freeRouting.jar for the first time instead of the KiCAD internal auto router... WOW that thing is so much more capable! I am in awe of that program. Very impressive.



LambdaMikel

After a night of routing, this is how it looks like. Have to check it now.

Bryce

You need to add some more copper to those power traces, but otherwise looking good.

Bryce.

LambdaMikel

#343
Quote from: Bryce on 16:08, 12 March 19
You need to add some more copper to those power traces, but otherwise looking good.

Bryce.
Right, I will do this by hand now... I couldn't find a way to instruct freeRoute.jar to have a "netclass" for certain traces. But it is easy enough to do by hand now, for GND and VCC, and also for the audio signals I suppose. I still haven't figured out the "ground copper" thing yet, but I hope it'll be fine regardless (the other PCBs worked without as well). One day I will learn  ;)
I was impressed that freeRouting.jar figured that out. KiCAD router didn't work at all this time... and not a single unconnected pin and no design violations at all! I had to stop the "optimizer" by hand though... it ran all night, and was at pass 48 or something this morning. I figured the layout was good enough by then. Otherwise it seems it tries optimizing and improving forever. Not sure when it would have stopped. Well, I have an older laptop as well...


GUNHED

Well, would it be possible to "redesign" the PCB to fit in the Amsdap?
At the end of the MX4 socket the Amsdap provides about 9mm space (guessing by locking)

http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

LambdaMikel

Quote from: GUNHED on 16:48, 12 March 19
Well, would it be possible to "redesign" the PCB to fit in the Amsdap?
At the end of the MX4 socket the Amsdap provides about 9mm space (guessing by locking)


So you are saying it is too wide? Well, in that case it would be very tall... like the tower of LambdaSpeak  :D

GUNHED

Damn! Why does this poor universe only provide 3 dimensions in space!  :picard: :picard2:
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

LambdaMikel

Quote from: GUNHED on 17:32, 12 March 19
Damn! Why does this poor universe only provide 3 dimensions in space!  :picard: :picard2:


You sure about that? After all, M-theory might be right...  ;)

GUNHED

Put that in Epoy-Harz  :P


Fun byside, yes the Y need to be increased. Probably it's to much effort to redesign anyway. So for Amsdap we can put an adapter before it to carry the LambdaSpeak, because the Amsdap is last in line anyway (Rattenschwanzende - undnurweillangeWortefaszinieren).

http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

LambdaMikel

Well, I can try. I'll save this one after finishing it up just in case I fail with the LambdaSpeak Tower Edition.

Powered by SMFPacks Menu Editor Mod