New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G120: Using SPI1 will erase all firmware and BL2.0 on serial flash. #294

Closed
Palomino34 opened this Issue May 10, 2018 · 2 comments

Comments

Projects
None yet
1 participant
@Palomino34
Contributor

Palomino34 commented May 10, 2018

The firmware still exist in SDRAM so to reproduce, need to disconnect power completely.

@Palomino34 Palomino34 added the bug label May 10, 2018

@Palomino34 Palomino34 added this to the v0.12.0 milestone May 10, 2018

@Palomino34 Palomino34 self-assigned this May 10, 2018

@Palomino34 Palomino34 changed the title from G120: Using SPI0 will erase all firmware and BL2.0 on serial flash. to G120: Using SPI1 will erase all firmware and BL2.0 on serial flash. May 10, 2018

@Palomino34

This comment has been minimized.

Show comment
Hide comment
@Palomino34

Palomino34 May 10, 2018

Contributor

Not happen on G400.

Contributor

Palomino34 commented May 10, 2018

Not happen on G400.

@Palomino34

This comment has been minimized.

Show comment
Hide comment
@Palomino34

Palomino34 May 10, 2018

Contributor

While waiting for the fix, a solution is, at very top of Main, add 2 lines of code in project:

var serialFlash_CS = controller.OpenPin(4*32+27);
serialFlash_CS.SetDriveMode(GpioPinDriveMode.InputPullUp);
Contributor

Palomino34 commented May 10, 2018

While waiting for the fix, a solution is, at very top of Main, add 2 lines of code in project:

var serialFlash_CS = controller.OpenPin(4*32+27);
serialFlash_CS.SetDriveMode(GpioPinDriveMode.InputPullUp);

@Arke64 Arke64 closed this in 2770428 May 11, 2018

Arke64 added a commit that referenced this issue May 11, 2018

Merge pull request #297 from ghi-electronics/#295_Using_SPI_Erase_FWBL
Fixed #294. After release, CS is low so serial flash still be effected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment