
In message GPECLCIGPLHEOMGPMCPAEEKEDNAA.edjubenville@adelphia.net you wrote:
Has anyone tried to implement a 1-wire driver for Dallas/Maxim 1-Wire devices, in particular for a DS2502-E48 chip?
None that I know of.
I'm considering writing a standalone bit-banging application that u-boot can
Why not a regiular driver that fits into the existing environment.
run to read and display the MAC address. The user could then use the display for the "setenv ethaddr" command. Would there be any way for the standalone program to modify the ethaddr environment variable directly?
You could export the setenv() function for SA programs, but why making all this so complicated? Implement a regular driver, and perform the setting of ethaddr automatically as part of your board init code.
Best regards,
Wolfgang Denk