1meg flashing problems

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

1meg flashing problems

#1 Post by cherowley » 09 Nov 2018, 19:01

Hi!

I'm trying to flash a H801 rgbw unit with a customer compiled firmware (need plugins from the playground)..

I've amend the used plugins and controllers and the size is 644k.

Flashes ok but image doesn't run
17:51:04.888 -> ets Jan 8 2013,rst cause:2, boot mode:(3,7)
17:51:04.888 ->
17:51:04.888 -> load 0x4010f000, len 1384, room 16
17:51:04.888 -> tail 8
17:51:04.888 -> chksum 0x2d
17:51:04.888 -> csum 0x2d
17:51:04.888 -> v4ceabea9
17:51:04.888 -> ~ld
17:51:04.888 -> e:
17:51:04.888 -> ets Jan 8 2013,rst cause:3, boot mode:(3,7)
17:51:04.888 ->
17:51:04.888 -> ets_main.c

I can flash the pre built 1meg firmware and it works fine.

What were the params for flashin - mode, spiffs size etc?

Any other points greatly received :)


Cheers!

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 1meg flashing problems

#2 Post by grovkillen » 09 Nov 2018, 19:14

If you have it compiled as a bin you can flash it with the official tools.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#3 Post by cherowley » 09 Nov 2018, 22:08

Hiya, hmm yeah tried it with a few different bits of flashing software, all of which flash the prebuilt 1meg image ok..

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#4 Post by cherowley » 10 Nov 2018, 10:26

What parameters are the prebuilt 1meg versions done with?

Mode?
Spiff size?

Thanks!

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 1meg flashing problems

#5 Post by grovkillen » 10 Nov 2018, 11:40

Look at the source please.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#6 Post by cherowley » 10 Nov 2018, 12:24

grovkillen wrote: 10 Nov 2018, 11:40 Look at the source please.
Ah didn't know they could be set in source, I've always done it from the menu in the ide..

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 1meg flashing problems

#7 Post by grovkillen » 10 Nov 2018, 13:45

They are actually initialized through the PlatformIO.ini file
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#8 Post by cherowley » 10 Nov 2018, 14:16

grovkillen wrote: 10 Nov 2018, 13:45 They are actually initialized through the PlatformIO.ini file
OK thanks I'll take a look in there.. I'm using arduino ide BTW, not a fan of platform for my sins hehe. Would prefer to use visual studio with visual micro again but haven't been able to get it compiled anymore using the mega 2.x versions :(

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: 1meg flashing problems

#9 Post by grovkillen » 10 Nov 2018, 14:19

We use platformio on atom but if you prefer visual code it's possible to use that too. All other ide software we cannot give any help since that would take us time from the way forward. I hope you understand.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#10 Post by cherowley » 10 Nov 2018, 14:36

Oh yes totally understand, it's just me preferring vs as that's what I use in my day job. I also like the way visual studio only recompiles changes so greatly speeds up the test/change/rebuild cycle..

I've been using espeasy for a few years now, contributed a basic ir tx module and rgbw controller plugins in the early days :)

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#11 Post by cherowley » 11 Nov 2018, 12:01

Doh!

Have set flashing params to 1meg/spiffs 128 dout and still won't boot after flashing my own compiled binary :(
Never had these probs in years..

This is on a h801, flashing a wemos d1 works and runs fine.

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: 1meg flashing problems

#12 Post by cherowley » 11 Nov 2018, 14:39

Oh for goodness sake, sorted now!

Appeared to be a combination of too fast upload speed (230k) bad psu and breadboard!

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests