Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - MickM

16
USB serial LCD backpack / Re: newbe.1: power lcd
Hi and welcome;
    It looks to me that your wiring is incorrect.
If you look at the face of the LCD, one corner should be different - some kind of notch.
That is pin 1.
Orient it so that it is in the lower left.

Turn the display over, now the (hidden) notch should be lower right.
The right hand connector, lower pin is #1, upper #9.
left hand connector lower pin#18, upper #10.

Note that pins 15 and 16 on the LCD are not connected, the backlight (which needs a resistor, try 100 Ohms), is  A+ #17 K- #18.
Ground is pin 1, +5v is pin 2.

Just hook those wires up, the BL should come on, adjust the BL pot.
Adjust the contrast close to one end of it's travel, you should see some black boxes, maybe only on one line.
Then go from there.

See here:
http://dangerousprototypes.com/docs/PIC_LCD_backpack
http://dangerousprototypes.com/docs/USB ... n_overview

Mick M
22
Flashrom / Re: Cannot detect S25FL127S SPI flash
Hi;
  Maybe the lock bits - at the bottom of page 55.
http://www.spansion.com/Support/Datashe ... 27S_00.pdf

"The next 4 higher address bytes (OTP Lock Bytes) are used to provide one bit per OTP region to
permanently protect each region from programming. The bytes are erased when shipped from Spansion.
After an OTP region is programmed, it can be locked to prevent further programming, by programming the
related protection bit in the OTP Lock Bytes."

Mick M
23
Flashrom / Re: Flashing BIOS on an XPS One2710 Mobo?
Hi;
  Dell is big enough to get manufacturers to build "OEM" boards for them.
A Google search showed that this is kind of like an iMac for windows.

So not a standard format motherboard, (ATX/MiniATX/ITX etc).
On most regular motherboards the BIOS is in a removable chip.
It has a label on it, and is square, the label may have a shiny holograph on it.

Anyway what I would do is hold down the F2 key, and power up still holding the key down.
This could take 30 seconds or more.
It should eventually beep and either take you to the BIOS or complain of a stuck key and say how to get into the BIOS.
You might also try the DEL key.

Does it display anything at all?
Does it beep on powerup?


Mick M
24
Open Bench Logic Sniffer / Re: Re: fw_update is not working in linux
Hi;
  maybe this will help'
Code: [Select]
**** Ubuntu pre-reqs  ****
See also : https://github.com/GadgetFactory/OpenBench-Logic-Sniffer

sudo apt-get install libusb-1.0-0-dev


**** Build new loader ****
See:
https://github.com/robots/ols-fwloader
http://dangerousprototypes.com/forum/viewtopic.php?f=23&t=1654&start=90
http://dangerousprototypes.com/docs/Logic_Sniffer:_Comprehensive_update_application


Build ols_fw_loader
--------------------

Checkout sw
git clone http://github.com/robots/ols-fwloader

Build sw
cd ols-fwloader

For git repository first run:
autoreconf --install

./configure
make
sudo make install

Note: Installs ols_fwloader in /usr/local/bin
 



**** UPDATE PIC ****

Write Pic FW
--------------
sudo ols_fwloader  -f BOOT -n -P /dev/ttyACM0 -W -w PIC_firmware/OLSv1.firmware.v3.0.hex

Found OLS HW: 1, FW: 2.3, Boot: 2
Found flash: WINBOND W25X40
OLS switched to bootloader mode
Bootloader version 0.2.2
Bootloader version 0.2.2
Reading file 'PIC_firmware/OLSv1.firmware.v3.0.hex'
Erasing flash ...
Writing flash ... (0x0800 - 0x3c00)


Verify Pic FW
--------------
sudo ols_fwloader  -f BOOT -n -P /dev/ttyACM0 -V -w PIC_firmware/OLSv1.firmware.v3.0.hex

Found OLS HW: 1, FW: 3.0, Boot: 2
Found flash: WINBOND W25X40
OLS switched to bootloader mode
Bootloader version 0.2.2
Bootloader version 0.2.2
Checking flash ... (0x0800 - 0x3c00)
Verified OK! :)





**** Update FPGA ****

Write FPGA FW
--------------
sudo ols_fwloader  -f APP -P /dev/ttyACM0 -W -t BIN -w FPGAROM/logic_sniffer_3.07-Demon-Core.bit

Found OLS HW: 1, FW: 3.0, Boot: 2
Found flash: WINBOND W25X40
Reading file 'FPGAROM/logic_sniffer_3.07-Demon-Core.bit'
Erasing flash ...
Chip erase ... done :)
Will write 662 pages
.....................


Verify FPGA FW
----------------
sudo ols_fwloader  -f APP -P /dev/ttyACM0 -V -t BIN -w FPGAROM/logic_sniffer_3.07-Demon-Core.bit

Found OLS HW: 1, FW: 3.0, Boot: 2
Found flash: WINBOND W25X40
Checking flash ...
.....................
Verify OK


Selftest
----------------
sudo ols_fwloader -P /dev/ttyACM0 -f APP -S

Found OLS HW: 1, FW: 3.0, Boot: 2
Found flash: WINBOND W25X40
done...
Passed self-test :)


**** Linux install UDEV Rules ****

See:
----------------
http://dangerousprototypes.com/docs/Logic_Sniffer_quick_start_guide#Hardware_installation_2


#File /etc/udev/rules.d/ols.rules
#Rules for Openbench Logix Snifferslogic. Creates a nice link to the ols
ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fc92", MODE="0666", SYMLINK+="OpenLogicSniffer"


sudo restart udev




 

Mick M

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01622450432session_write_close ( )...(null):0
20.01662582056ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01662582832Database_MySQL->query( ).../DatabaseHandler.php:119
40.06152721592Database_MySQL->error( ).../Db-mysql.class.php:273