Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Why does MCS Bootloader contain a trojan?
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Various
View previous topic :: View next topic  
Author Message
pinkfloyd11

Bascom Member



Joined: 02 Jul 2007
Posts: 247

italy.gif
PostPosted: Tue Apr 06, 2010 11:56 am    Post subject: Reply with quote

Dear Frankeman

I have found a source code project in vb.2005 that do XModem transmission and another OCX in VB6 but for now I'm not able to use correctly.
If I send this resouce to you, could you test on your hardware system?
OR
Could you transform your PC side Bootloader in .NET/OCX components?

Thanks
Back to top
View user's profile
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 948
Location: the Netherlands

netherlands.gif
PostPosted: Tue Apr 06, 2010 9:33 pm    Post subject: Reply with quote

Hi,

I do not use VB or OCX controls, so with that i can't help you.

In the bootloader i use Async32 from TMS software, a commercial product.
They offer a trial for that component, download it and i will make a simple example bootloader for you.

Frank.

PS
TMS Async32 cost 50 euro, i think it is not to much.
Back to top
View user's profile
pinkfloyd11

Bascom Member



Joined: 02 Jul 2007
Posts: 247

italy.gif
PostPosted: Mon Apr 12, 2010 8:16 am    Post subject: Reply with quote

Hi Frankeman

I would ask you if is possible at least have compiled version of your bootloader (pc side) little bit modified.

The modification should be only this:

com port, baud rate and name file passed by argument.

Example:

bootloader.exe com1 38400 myfile.bin

So me and other could call it from our application like a standalone module

What do you think?

Thanks
Back to top
View user's profile
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 948
Location: the Netherlands

netherlands.gif
PostPosted: Mon Apr 12, 2010 6:04 pm    Post subject: Reply with quote

Sure that is possible.
I will change the code for you (and others).
Back to top
View user's profile
pinkfloyd11

Bascom Member



Joined: 02 Jul 2007
Posts: 247

italy.gif
PostPosted: Thu Apr 15, 2010 12:04 pm    Post subject: Reply with quote

Dear Frankeman

I'm very happy that you have accept my request but...I have forgot to talk you about last parameter.....

If is possible, could be usefull pass by argument also the special character used for start bootloader procedure: chr(123)

In this manner we could compile different bootloader: one that start with chr(123), another that start with chr(125) ecc.

Now we could update firmware in different microprocessor put on the same serial line.

What do you think?

My personal email is gpezzella@yahoo.com

Please contact me soon

Thanks
Back to top
View user's profile
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 948
Location: the Netherlands

netherlands.gif
PostPosted: Thu Apr 15, 2010 8:54 pm    Post subject: Reply with quote

good suggestion, i will investigate if it is possible.
Back to top
View user's profile
BurkhardVenus

Bascom Member



Joined: 28 Jan 2010
Posts: 7

germany.gif
PostPosted: Tue Jun 01, 2010 8:33 pm    Post subject: Reply with quote

Frankeman wrote:
Hi,

The PC side bootloader is not very difficult.
...
Frank.


Hi Frankman!

That is what I thought Confused
I'm using an ATMega 328 with my flightsim und want to update the firmware via plugin. The comunication semms to work fine, the file is completly send an everytime I got a ack. But the bytes in the Flash are not the same. I use the folowing sheme:

// init com
send 123
get 123
send 00

loop until all blocks send:
send 01
send blocknumber
send ~blockblocknumber //MCS take everything
send 128 bytes from hexfile
send checksum
get ack
// loop end
send 04
get ack.
Did I miss something?
Greetings from the border (Leer/ Ostfriesland) Very Happy
Burkhard
Back to top
View user's profile
kenned

Bascom Member



Joined: 05 Jun 2006
Posts: 4
Location: Scotland

uk.gif
PostPosted: Sun Dec 26, 2010 12:07 pm    Post subject: Bootloader - in Delphi Reply with quote

I'm looking to add the ability to program a Mega328p via RS232 from an application that is written in Delphi 7. A search on the forum found this thread - it struck me that Frankeman has already 'been here and done that'.

Frank, might you be able to send me the the .exe for your loader (or better still the Delphi source)? I already use Async Pro for serial comms in my app).

Cheers,
Derek.
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Sun Dec 26, 2010 6:30 pm    Post subject: Reply with quote

There is already a boot loader you can download from mcs web.
It is free for private use. For commercial usage you can contact sales.

_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Various All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum