Topics Topics Edit Profile Profile Help/Instructions Help Member List Member List  
Search Last 1|3|7 Days Search Search Tree View Tree View  

Hex to asm

:: EPE Chat Zone ­:: ­Radio Bygones Message Board :: » EPE Forum Archives 2005-2006 » Archive through 11 October, 2006 » Hex to asm « Previous Next »

  Thread Last Poster Posts Pages Last Post
  ClosedClosed: New threads not accepted on this page        

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Terry
Frequent Contributor
Username: Terry

Post Number: 263
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 08 October, 2006 - 06:14 pm:   Edit Post Delete Post Print Post

Dose anyone know of a free dissassembler for the 16c716 ?

Terry

(Message edited by terry on 08 October, 2006)
Top of pagePrevious messageNext messageBottom of page Link to this message

Scott2734
Frequent Contributor
Username: Scott2734

Post Number: 115
Registered: 10-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 08 October, 2006 - 06:26 pm:   Edit Post Delete Post Print Post

I dont know about the 16c716, but they may have something that will help. Scroll about halfway down the page. The disassemblers are located there.

http://www.devrs.com/pic/devsoft.php

forgot to metion, theres a lot of dead links on that page, will have to look through them, but might give you some idea of what to look for.

(Message edited by scott2734 on 08 October, 2006)
Top of pagePrevious messageNext messageBottom of page Link to this message

Terry
Frequent Contributor
Username: Terry

Post Number: 264
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 08 October, 2006 - 06:59 pm:   Edit Post Delete Post Print Post

I tryed that one but no good. Most seem to be for the 84. I only want to dissassemble one chip that I programmed years ago but like a twit I lost the program.

Terry
Top of pagePrevious messageNext messageBottom of page Link to this message

Zeitghost
Frequent Contributor
Username: Zeitghost

Post Number: 418
Registered: 01-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 08 October, 2006 - 10:12 pm:   Edit Post Delete Post Print Post

Doesn't mplab do that sort of thing if you load the hex file?
Top of pagePrevious messageNext messageBottom of page Link to this message

Obiwan
Frequent Contributor
Username: Obiwan

Post Number: 812
Registered: 12-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 08 October, 2006 - 10:30 pm:   Edit Post Delete Post Print Post

I thought MPLAB would do it also.
Do Not Hit The Fly That Lands On The Tigers Head.
Top of pagePrevious messageNext messageBottom of page Link to this message

Magnum4
Frequent Contributor
Username: Magnum4

Post Number: 320
Registered: 04-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, 08 October, 2006 - 10:37 pm:   Edit Post Delete Post Print Post

This any use?
http://www.joescat.com/micro/picchip.htm
Regards,
Jim
Top of pagePrevious messageNext messageBottom of page Link to this message

Amr_bekhit
Frequent Contributor
Username: Amr_bekhit

Post Number: 256
Registered: 06-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 12:24 am:   Edit Post Delete Post Print Post

MPLAB does do this yes. Import the hex file from File->Import, then click on View->Program Memory and that gives you a disassembly.



--Amr
Helm PCB - PCB manufacture for HOBBYISTS.
Top of pagePrevious messageNext messageBottom of page Link to this message

Terry
Frequent Contributor
Username: Terry

Post Number: 265
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:40 am:   Edit Post Delete Post Print Post

Thanks Jim I had found that one but it costs $25 which is a bit steep just to decode one chip.
I will try and get MPLAB and see, it looks good from what you posted Amr.

Terry
Top of pagePrevious messageNext messageBottom of page Link to this message

Terry
Frequent Contributor
Username: Terry

Post Number: 266
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 09:29 am:   Edit Post Delete Post Print Post

Well I have done it but the dissassembled list is almost impossable to follow.
btfss status,z ; now says BTFSS 0x3, 0x2
I may be able to make the changes I need to with this but its going to be hard work.

Terry
Top of pagePrevious messageNext messageBottom of page Link to this message

Zeitghost
Frequent Contributor
Username: Zeitghost

Post Number: 420
Registered: 01-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 02:51 pm:   Edit Post Delete Post Print Post

Welcome to the joys of Reverse Engineering...
Top of pagePrevious messageNext messageBottom of page Link to this message

Sounded_simple
Frequent Contributor
Username: Sounded_simple

Post Number: 173
Registered: 12-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 04:41 pm:   Edit Post Delete Post Print Post

There is a "Replace With" function in MPLAB. Useful when you need to make changes across the program.
Top of pagePrevious messageNext messageBottom of page Link to this message

Frank
Valued Member
Username: Frank

Post Number: 16
Registered: 09-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 07:41 pm:   Edit Post Delete Post Print Post

I tried what you are suggesting above but MPLAB gives me an error telling me that the extension (*.HEX) was not recognised.

Any ideas why this happens?
Top of pagePrevious messageNext messageBottom of page Link to this message

Amr_bekhit
Frequent Contributor
Username: Amr_bekhit

Post Number: 258
Registered: 06-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 07:44 pm:   Edit Post Delete Post Print Post

Hmm...what compiler did you use to produce the hex file? Maybe the format is different from what MPLAB expects. Do you mind sending me the hex file, see if I get the same error?

--Amr
Helm PCB - PCB manufacture for HOBBYISTS.
Top of pagePrevious messageNext messageBottom of page Link to this message

Frank
Valued Member
Username: Frank

Post Number: 17
Registered: 09-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:23 pm:   Edit Post Delete Post Print Post

Hi Amr, i used MPLAB 7.10 to generate it.

The file is named test.HEX and the contents are the following:

:020000040000FA
:100000004728000000000000090011088207603442
:100010003134323433346134343435343634623448
:1000200037343834393463342A3430342334643444
:100030001530840089018316081483120808B8005B
:10004000DF390319080038088000840A890A25303E
:100050000402031D1B2808001530840089010008D4
:10006000880083160812081555308900AA308900C7
:1000700088148312000000008316081E392883129A
:10008000840A890A25300402031D2F2808008501EF
:1000900003018316850083128601F03083168600E3
:1000A000811383120530A50010302502031D472857
:0800B000F03018202C20472835
:02400E00F23F7F
:104200003100320033003400200020002000200064
:0E4210002000200020002000200020002000C0
:00000001FF

That's all. I tried it just to confirm what you are saying above. Nothing special just an interrupt test.
Top of pagePrevious messageNext messageBottom of page Link to this message

Amr_bekhit
Frequent Contributor
Username: Amr_bekhit

Post Number: 259
Registered: 06-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:27 pm:   Edit Post Delete Post Print Post

Hmm...worked for me. How did you try and import it?

--Amr
Helm PCB - PCB manufacture for HOBBYISTS.
Top of pagePrevious messageNext messageBottom of page Link to this message

Frank
Valued Member
Username: Frank

Post Number: 18
Registered: 09-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:46 pm:   Edit Post Delete Post Print Post

Just File->Import and the error message pops up.
Top of pagePrevious messageNext messageBottom of page Link to this message

Amr_bekhit
Frequent Contributor
Username: Amr_bekhit

Post Number: 260
Registered: 06-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:49 pm:   Edit Post Delete Post Print Post

Strange..Here's the data you sent but ive put it in a hex file. See if that works.

application/octet-stream
test.hex (0.7 k)


--Amr
Helm PCB - PCB manufacture for HOBBYISTS.
Top of pagePrevious messageNext messageBottom of page Link to this message

Frank
Valued Member
Username: Frank

Post Number: 19
Registered: 09-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:52 pm:   Edit Post Delete Post Print Post

no it didn't work. same message.
Top of pagePrevious messageNext messageBottom of page Link to this message

Amr_bekhit
Frequent Contributor
Username: Amr_bekhit

Post Number: 261
Registered: 06-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:55 pm:   Edit Post Delete Post Print Post

that's strange. in any case, the latest version of MPLAB is v7.42, so maybe an upgrade will solve the problem?

--Amr
Helm PCB - PCB manufacture for HOBBYISTS.
Top of pagePrevious messageNext messageBottom of page Link to this message

Frank
Valued Member
Username: Frank

Post Number: 20
Registered: 09-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 08:56 pm:   Edit Post Delete Post Print Post

i'll try it anyway.

not that i need to do anything but just experimenting with suggestions.
Top of pagePrevious messageNext messageBottom of page Link to this message

Obiwan
Frequent Contributor
Username: Obiwan

Post Number: 816
Registered: 12-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, 09 October, 2006 - 10:04 pm:   Edit Post Delete Post Print Post

Sounds like either a bum install or broken software (wrong version etc..)

I'd make sure you had the latest and greatest.
Do Not Hit The Fly That Lands On The Tigers Head.
Top of pagePrevious messageNext messageBottom of page Link to this message

Thomass
Frequent Contributor
Username: Thomass

Post Number: 57
Registered: 10-2005


Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, 10 October, 2006 - 09:32 pm:   Edit Post Delete Post Print Post

Hi Terry,

Try the following http://www.hagi-online.org/picmicro/picdisasm_en.html
works well and its free

HTH

Thomas
None shall pass What ? None shall pass
Top of pagePrevious messageNext messageBottom of page Link to this message

Terry
Frequent Contributor
Username: Terry

Post Number: 268
Registered: 05-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, 11 October, 2006 - 08:19 am:   Edit Post Delete Post Print Post

Hi Thomas, its Frank that is having problems now, he has taken over this thread

Terry
Top of pagePrevious messageNext messageBottom of page Link to this message

Frank
Regular Contributor
Username: Frank

Post Number: 24
Registered: 09-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, 11 October, 2006 - 06:08 pm:   Edit Post Delete Post Print Post

Hi All,

thanks for the link.

i downloaded the link and the disassembler works fine.

When i have some time i'll try the latest version of MPLAB maybe the version i'm using has a bug ;-)

Nothing new...

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page