- Fri 17th Feb 2017, 15:20
#4321
Yes, SPA phones is tricky. :-)
I do not understand why not public is the master reset procedure.
So really just growing mountains of garbage.
In any case, the internal serial port can be tried.
Just be aware that 3.3 Volts serial adapter must be used.
Available on eBay. It also has.
The list of SPA 525 serial commands:
VOIP>> help
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bbothcode - Burn a code.bin on the flash.
bcode - Burn a code.bin on the flash.
bdinfo - print Board Info structure
bhome - Burn home partition on the flash.
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bubt - Burn an image on the Boot Flash.
chpart - change active partition
cmp - memory compare
cmpm - Compare Memory
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
echo - echo args to console
erase - erase FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
g - start application at cached address 'addr'(default addr 0x40000)
go - start application at address 'addr'
gstburn - write all files from USB file storage disk to flash.
gstload - enables the USB file storage gadget.
help - print online help
iminfo - print header information for application image
imls - list all images found in flash
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing)
mtderase - Erase the whole partition.
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
The serial port parameter: 38400, N, 8, 1
The serial port PIN-s left to right:
GND, NC, RXD, TXD, NC
When after connected the serial port adapter to the phone pins, starting the terminal program (PUTTY or another).
Connecting the phone POE SW or 5Volt DC supply.
When booting the phone press ESC to step to secret menu.
I think this is the CPU bootloader menu.
The SPA 525 phones LAN range 192.168.0.x
The phone LAN interface set up automatically this range.
And the phone try connect the TFTP server 192.168.0.100 address if use the rarpboot or tftpboot command.
Similar to the serial port is SPA502 and 504 as well.
Tony