Spin Semiconductor Forum Index Spin Semiconductor
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

hex of m24-16

 
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> FV-1 software questions
View previous topic :: View next topic  
Author Message
aparat
Guest





PostPosted: Fri Jun 09, 2017 3:15 am    Post subject: hex of m24-16 Reply with quote

hi
i want hex of m24-16
please send to me
hesco202@gmail.com
thanks
Back to top
Merlyn



Joined: 26 Jul 2008
Posts: 3

PostPosted: Tue Jan 30, 2018 12:52 am    Post subject: Reply with quote

Hi,

I tried to generate a HEX file from the FV1_V1.asm file available from the site using the MIDE-51 package but it says the file has 4 errors.
Is a ready to go HEX file available for this project or it's just a dead end not working project?
Thanks.





upload a photo on internet
Back to top
View user's profile Send private message
frank



Joined: 19 Oct 2005
Posts: 988

PostPosted: Tue Jan 30, 2018 8:59 am    Post subject: Reply with quote

There are many variants of the 8051, you need to make sure you are using and the assembler is set to assemble for the right one. The comment in line 2 states it must be an 8K variant with ctr2 (counter 2). It appears you did not tell the assembler to assemble for the proper one as the symbols it is complaining about are for ctr2 control.
_________________
Frank Thomson
Experimental Noize
Back to top
View user's profile Send private message Visit poster's website
Merlyn



Joined: 26 Jul 2008
Posts: 3

PostPosted: Tue Feb 06, 2018 12:51 am    Post subject: Reply with quote

Hi,

Thanks for your reply. After some deliberations in another forum and considering programming issues it looked like the AT89S8253 should be OK but honestly I'm not into coding at all so some "mechanical" advice how to alter it would be greatly appreciated.
Back to top
View user's profile Send private message
frank



Joined: 19 Oct 2005
Posts: 988

PostPosted: Tue Feb 06, 2018 4:16 pm    Post subject: Reply with quote

It really comes down to a few things, using the right 8051 type part and making sure the assembler will assemble properly for it.

As to the 8051 type part, that may be a challenge since Phillips no longer mares the one from the example schematic. So you need to find one that has the same memory space and has counter 2 and has the same pinout. There actually should be a number of different ones that meet these specs and it seems you found one.

The assembler may take a little to get working. The "$MOD52" line is causing the assembler to call out the 8052 version of the part, not really a big deal but the names of registers or pins may not agree with newer assemblers so I would comment out the $MOD52 line and enter what ever is required by your assembler (may be an assembly option and not even a line in the code) to use the 8052 set with counter2. Finally it may use a different name for some registers, if it does simply change them, it is usually obvious from the errors and you just need to determine the correct register name which is generally in the datasheet for the part or the assembler docs.

The assembler Keith used is as far as I know is no longer available, it was called AMS51 from MetaLink their site is http://www.metaice.com/ but it has not been updated in a long time and lists no products.
_________________
Frank Thomson
Experimental Noize
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> FV-1 software questions All times are GMT - 8 Hours
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group