[x] Welcome at THunting.com!

A fun place to talk about Metal Detecting, Treasure Hunting & Prospecting. Here you can share finds and experience with thousands of members from all over the world

Join us and Register Now - Its FREE & EASY

THunting.com
Treasure Hunting & Metal Detecting Community
   
Advanced Search
*
Welcome, Guest! Please login or register HERE - It is FREE and easy.
Only registered users can post and view images on our message boards.
Did you miss your activation email?

Login with email, password and session length
Or Login Using Social Network Account
2
News:
Pages: 1    Go Down
Print
Share this topic on FacebookShare this topic on Del.icio.usShare this topic on DiggShare this topic on RedditShare this topic on Twitter
Tags:
0 Members and 1 Guest are viewing this topic.
Offline Gramps43Topic starter
Bronze Member
*

Join Date: May, 2010
Thank you2

Activity
0%
Male
United States
Posts: 398
Referrals: 0

2121.00 Gold
View Inventory

Awards

Gold Snoop, White's 4900/D & White's Gold Master.
« on: November 02, 2012, 02:44:28 pm »
Go Up Go Down

Hey there guys out the in treasure hunting land danny475 in Syria needs some help with hex code for the DP3 he is building.  He's even considering trashing the whole project because he hasn't been able to get code.  I am not into PIC controlled MD's so can someone give him a hand?

Thanks,
Gramps

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,38333.msg236239.html#msg236239




« Last Edit: November 02, 2012, 02:52:36 pm by homefire »
Logged

It is better to die fighting evil than to live under it.

Offline GoldDigger1950
The Old Man and the Soil
Global Moderator
Platin Member
*****

Just call me GD.
The Old Man and the Soil
Join Date: Jun, 2009
Thank you225

Activity
0%
Male
United States
Posts: 11219
Referrals: 12

47848.00 Gold
View Inventory

Awards

Garrett Groundhog ADS, Garrett Sea Hunter, Bounty Hunter Tracker IV, Bounty Hunter Pioneer 505,Minelab Eldorado Mk II, Tesoro Compadre, Tesoro Tiger Shark & A Few Home Brew Detectors
« Reply #1 on: November 02, 2012, 03:57:36 pm »
Go Up Go Down

Hex code is compiled native control code and cannot be transported from machine to machine. Unless his project is precisely built to spec, it won't help him one whit. What he needs is source code. There are too many versions of the Delta Pulse out there and the source code is very, very specific to one version only.

He's asking for the impossible dream. He'd be better off flying to Korea, Japan or the Philippines and buying a PI machine to bring back home.

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,38333.msg236246.html#msg236246




Logged

It's all about that moment when metal that hasn't seen the light of day for generations frees itself from the soil and presents itself to me.
Let's Talk Treasure!

Offline Gramps43Topic starter
Bronze Member
*

Join Date: May, 2010
Thank you2

Activity
0%
Male
United States
Posts: 398
Referrals: 0

2121.00 Gold
View Inventory

Awards

Gold Snoop, White's 4900/D & White's Gold Master.
« Reply #2 on: November 02, 2012, 04:55:23 pm »
Go Up Go Down

It would seem that following your logic and I'm not questioning it, that building a PIC controlled machine wouldn't be the way to go.  Unless of course you design your own and are in control of all the variables and writing the software for your particular conditions.

Gramps

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,38333.msg236247.html#msg236247




Logged

It is better to die fighting evil than to live under it.

Offline GoldDigger1950
The Old Man and the Soil
Global Moderator
Platin Member
*****

Just call me GD.
The Old Man and the Soil
Join Date: Jun, 2009
Thank you225

Activity
0%
Male
United States
Posts: 11219
Referrals: 12

47848.00 Gold
View Inventory

Awards

Garrett Groundhog ADS, Garrett Sea Hunter, Bounty Hunter Tracker IV, Bounty Hunter Pioneer 505,Minelab Eldorado Mk II, Tesoro Compadre, Tesoro Tiger Shark & A Few Home Brew Detectors
« Reply #3 on: November 03, 2012, 02:29:54 pm »
Go Up Go Down

Quote:Posted by Gramps43
It would seem that following your logic and I'm not questioning it, that building a PIC controlled machine wouldn't be the way to go.  Unless of course you design your own and are in control of all the variables and writing the software for your particular conditions.

Gramps, that is NOT my logic, as you call it. That is the way microcontrollers work. You MUST have the source code for each and every use of a part. In most PIC devices, for example, there are at least 8 inputs and outputs which can be used as either or both depending on program control. There are smaller PIC devices but the requirements of a metal detector make it important to use at least 8 or more. So, let's say we both design something using the same part in a metal detector circuit. If you use output 1 to control something and I use output 2 to control the same thing, the software must be written to reflect that use. Right away, it should become clear that the same software cannot be used in both.

Now, fast forward to a complete project where we both have working devices and we are ready to make final program compilations so the machine can operate. We both MUST create HEX files from our SOURCE CODE that makes our machines work. Since we used different outputs for making the same function, when we compile our code into HEX code, the files will be different and your HEX code will not work in my machine and vice versa. Not only that but the HEX code is not editable in the same way that source code is. You can't just leap in there and change one byte. During the compile, the HEX file is created in a top down fashion. That means from the first line of code all the way to the end, it is chopped and compiled into HEX. If your control program for the output number 1 is in the source code at a different place than mine, the HEX file will be way, way different making editing impossible. Even if they are exactly the same except for the single line difference, the code will compile radically different and you won't be able to find the changes in the HEX file.

Now I went to a lot of trouble to explain this to you. I am NOT being mean to your mate. I am trying desperately to be kind to him and also to you.

Posted on: November 03, 2012, 10:24:49 PM
FYI, there are also vastly different ways to make a program work the same with a different methodology in the source code. Even the same part in a single circuit can be programmed differently and have different HEX code which works the same even thought it is different. The logic behind that is simplistic versus brute force coding. I might write my source code to do a step by step, brute force method and later write it using subroutines that can be reused later. I might put my variables into a data structure or simply execute formulas each time without using a structure. Personal choice. All of this makes the HEX code unique.

Like I said earlier, the impossible dream. He is absolutely dead stuck without the source code and nobody here seems to have it. He needs to contact the original designer for the source code and then he needs to validate it against the hardware to be sure it will work. Only then can he compile it with any hope of getting his machine to work.

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,38333.msg236281.html#msg236281




Logged

It's all about that moment when metal that hasn't seen the light of day for generations frees itself from the soil and presents itself to me.
Let's Talk Treasure!

Print
Pages: 1    Go Up
Jump to:  

Powered by SMF 1.1.19 | SMF © 2005, Simple Machines | Sitemap
Copyright THunting.com