Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

AMC, H-Bridge projects etc.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby speedy » Tue 9. Oct 2012, 07:50

prilad wrote:Hi, Guys!!!

I think, I found one problem with my FTISP files for atmega8535. And it is not only my problem. As I see Thanos has the same problem in FTISP for atmega8535. The problem has the name - the FUSE in *.bat files.

When Thanos was make FTISP files for atmega8535, hi (and I) get fuse data for atmega644. But that is not correct. I think, bat file must be next:

ftisp.exe -B 100000 -E -fw A22_v21.bin -Fw 0xC1FF -fv A22_v21.bin

pause


Tomorrow I will try to solve this problem... But now I'm ill :( I'm sorry

Regards,
Ale


>>>>>>>>> Excellent with Grade A+ results <<<<<<<<<<

You triggered the Wedding Prilad :lol:
here comes the Bride ....
the first thing I did after fixing the AMC board ... the first power on ... but I did the steps again to the capture video :lol: :lol: happy like a kid :P
I used the red fuses combinations you provided and this is the result ...
ATMEGA8535, 22.118MHZ quartz, FW AMC2.1 ALESOFT+ 22Mhz 2ch poten. ,DIY FTDI232RL serial UART converter .
FW files are here
x-sim_AMC_22118kHz_v21_resistors_new fuses.rar
(12.47 KiB) Downloaded 674 times

video for the test here


Here is a small gift Prilad for you and the readers of your thread :
files for the FTDI232RL serial UART converter for DIY here


C1, C2, silkscreen layers pdf files here
FT232RL.rar
(92.45 KiB) Downloaded 660 times




@ Prilade ... To continue with the FW troubleshooting edition ... I think it should be an embedded function into the latest working FW ...
you sholud make us that edition and update the first post ...

spe ;) edy
Last edited by speedy on Tue 9. Oct 2012, 14:00, edited 3 times in total.
User avatar
speedy
 
Posts: 148
Images: 4
Joined: Thu 19. Apr 2012, 06:46
Location: Alexandria, Egypt
Has thanked: 14 times
Been thanked: 2 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby speedy » Tue 9. Oct 2012, 08:22

I found the program is left running in the back ground while posting the previous one ... :D
I just was dancing with the LCD numbers ups and downs ... :lol:

Last edited by speedy on Mon 15. Oct 2012, 20:23, edited 1 time in total.
User avatar
speedy
 
Posts: 148
Images: 4
Joined: Thu 19. Apr 2012, 06:46
Location: Alexandria, Egypt
Has thanked: 14 times
Been thanked: 2 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby prilad » Tue 9. Oct 2012, 08:28

Hi, Speedy!!!

Work is always rewarded :D . Congratulations...
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby speedy » Tue 9. Oct 2012, 08:37

With the help of Genius men ...

I guess it's my reading glasses in the first place ... I can't read lines containing Hex codes even in datasheets ... my eyes becomes crossed :lol:
User avatar
speedy
 
Posts: 148
Images: 4
Joined: Thu 19. Apr 2012, 06:46
Location: Alexandria, Egypt
Has thanked: 14 times
Been thanked: 2 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby prilad » Tue 9. Oct 2012, 08:56

speedy wrote:I can't read lines containing Hex codes even in datasheets ... my eyes becomes crossed :lol:


Oh, I'm sorry, my friend, But I have to give some explanations... And about Hex codes too :lol:

There is the table from atmega8535 datasheet with High byte of fuse. In the right of the table I draw my fuse setting. In binary this is = 1100 0001, and in Hex = 0xC1

atmega8535 fuses - high byte


There is the table from atmega8535 datasheet with Low byte of fuse. In the right of the table I draw my fuse setting. In binary this is = 1111 1111, and in Hex = 0xFF.

But I recommend to program two additional bits - BODEN and BODLEVEL. In this case in binary this is = 0011 1111, and in Hex = 0x3F.

atmega8535 fuses - low byte


It's information for the people, who write programm to atmega using PonyProg and Hex files. I draw your attention that for fuses '0' mean 'Programming' and '1' mean 'Unprogramming'

regards,
Ale
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby prilad » Tue 9. Oct 2012, 09:44

Hi, Speedy.

Two words about your video. I think there is not necessary to make sending period lower than 5..10 ms. In my firmware main circle of PWM regulation has period 3.5 ms for 18MHz quartz.

Regards,
Ale
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby vicpopo » Tue 9. Oct 2012, 11:15

Hi guy's,
Congratulations Speedy and Prilad!! :) :D :lol:
Pugnacity , Work and big Wish are always paid back!!
Best Regards
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby speedy » Tue 9. Oct 2012, 13:48

Hi Prilad :
vicpopo had just read my mind ...
The Pugnacity will not come off until making a simulator Voice activated like the British BENTLEY car in the 2012 movie ... just a big wish . :lol:

Till now ... if I asked you about how big is this FW and the full option program ... proudly say ... like the man in this video



;) ;) >>>>> It's Russian ... <<<<< ;) ;)


regards

spe ;) edy
User avatar
speedy
 
Posts: 148
Images: 4
Joined: Thu 19. Apr 2012, 06:46
Location: Alexandria, Egypt
Has thanked: 14 times
Been thanked: 2 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby tronicgr » Tue 9. Oct 2012, 14:46

prilad wrote:Hi, Speedy.

Two words about your video. I think there is not necessary to make sending period lower than 5..10 ms. In my firmware main circle of PWM regulation has period 3.5 ms for 18MHz quartz.

Regards,
Ale


Really?? I still get 1.176Khz with 18Mhz crystal!! (I measured 850hz loop). And my code can handle overbuffer pretty well, with 1ms delay it will skip data coming too fast, but will be still in time for the third incoming packet. 2ms delay will drop the performance and the accuracy to 500Hz instantly.

My oppinion... I would set delay to 0ms and let AMC1.6 synchronizes itself to its maximum of 1.176Khz... ;)

Best Regards,
Thanos
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: Alt. firmware and GUI for Thanos's AMC1.5 & AMC1.6

Postby prilad » Tue 9. Oct 2012, 17:06

Hi, Thanos !
tronicgr wrote:Really?? I still get 1.176Khz with 18Mhz crystal!! (I measured 850hz loop). And my code can handle overbuffer pretty well, with 1ms delay it will skip data coming too fast, but will be still in time for the third incoming packet. 2ms delay will drop the performance and the accuracy to 500Hz instantly.

My oppinion... I would set delay to 0ms and let AMC1.6 synchronizes itself to its maximum of 1.176Khz... ;)


Yes, you did a very good job. And you really became a Guru for the community. And my firmware - it is the first touch, and almost virtual one. Because I have no any hardware for fast testing and debuging firmware in real life... And I works with x-sim firmware less than a year ;)

But I think that in next generation I will try to make duty cycle shorter than 1 ms. No problem... :D

Regards,
Ale
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 7 guests

cron