Содержание
- Can not use web ide. «Unable to retrieve board information»
- Formatting Help
- On Pico WebIDE Connect — Unable to retrieve board information. Connection Error?
Can not use web ide. «Unable to retrieve board information»
Just started using espruino with a olimex esp32-evb.
Serial terminal emulation works fine and I can type in commands, but web ide shows that message.
Unable to retrieve board information. Connection Error?
Connected to port COM3
If I reset the board while connected I get.
Unable to retrieve board information. Connection Error?
Connected to port COM3
#ÿAöR$WA82G;dd¤óA»fGDFå ÌH±)Ì8
ÈJ)!j)Þ
Got wifi started, but a port scan shows only the 23 open. It pings fine also.
espruino_1v96.21_esp32.bin
web-ide version 0.68.6
Do you have baud rate set to 115200 in settings?
Port 23 open is good — the telnet port. You can add the IP in the Web IDE communications settings and it should connect. You’ll find TCP a lot faster as your programs get bigger — assuming your wifi is stable of course.
Shame on me! 115200bps.
I had it set right away at 115200 on my terminal and did not imagine that the ide could have it different.
- Bold
- Italics
- Link
- Image
- List
- Quote
- code
- Preview
Formatting Help
Don’t worry about formatting, just type in the text and we’ll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
- Create headers by underlining text with ==== or —-
- To *italicise* text put one asterisk each side of the word
- To **bold** text put two asterisks each side of the word
- Embed images by entering:
![](https://www.google.co.uk/images/srpr/logo4w.png)
That’s the hard one: exclamation, square brackets and then the URL to the image in brackets. - * Create lists by starting lines with asterisks
- 1. Create numbered lists by starting lines with a number and a dot
- > Quote text by starting lines with >
- Mention another user by @username
- For syntax highlighting, surround the code block with three backticks:
«`
Your code goes here
«`
Just like Github, a blank line must precede a code block.
For a full reference visit the Markdown syntax.
Источник
On Pico WebIDE Connect — Unable to retrieve board information. Connection Error?
Well this one baffles me.
I wanted to play with a Pico that hadn’t been powered up in over six months. The code file was still in tact and the breadboard still wired. Using USB cable for power. Launch IDE. Plug in Pico via cable, onboard red LED flashes once and Windows10 connection sound bite becomes audible. Click ORG connect button ‘Select a Port’ dialog renders. Click — ‘Connecting’ then immediate ‘Connected to port COM4’ followed by ‘Unable to retrieve board information. Connection Error?’
then ‘Disconnected’
After many connection — relaunch attempts;
Didn’t want to add another layer of confusion, but wondered if the firmware was toast. So in frustration, went through the IDE firmware flash process, which in fact was successful and now have 1V99 and familiar ‘Espruino’ banner renders on left pane.
Was able to run several left pane instructions and loaded a few code snippets in right hand pane. Success! Took a break.
Upon returning, Pico had disconnected and ORG connect button was rendered. Greeted with ‘No Ports Found’ Ol’ familiar Window10 routine.
Close IDE. Power down Pico. Relaunch IDE. Power Pico. Attempt connect. Now the Error.
I had been playing with a Puck recently, and now unable to recall if I re-installed the IDE as I was one that was confused as to which IDE was specific for the Puck. Now I understand it is the native IDE. That is now at:
Web IDE version 0.68.6
Baud 9600 tried at 115200
Here is the IDE console output, full content attached:
ERROR: [notify_error] Unable to retrieve board information. Connection
Error? Loading http://www.espruino.com/json/PICO_R1_3.json Board JSON
loaded Firmware >1.43 supports faster writes over USB Set Slow Write =
false FIRMWARE: Current 1v99, Available 1v99 Device found
(connectionId=2) [success] Connected to port COM4
I cleaned the Pico contacts with a pink Pearl eraser. I added more tension to the USB holding tabs. I am successful at flashing the Pico. So connectivity doesn’t appear to be an issue. Kept Baud rate at 9600, but not sure if that would have an impact.
At times, during a code upload, the ‘Sending’ green progress bar doesn’t always go far right, so I’m never sure if the code actually uploaded.
Baffled that I am able to at least once, connect and flash, write some code, then poof — start cycle over.
From Settings >> About
Board Information
VERSION 1v99
GIT_COMMIT f0d66ba
BOARD PICO_R1_3
FLASH 393216
RAM 98304
SERIAL 25005800-13513335-32373134
CONSOLE USB
MODULES Flash,Storage,fs,net,dgram,tls,http,NetworkJS,WIZnet,tv,hashlib,crypto,neopixel
EXPTR 536871156
Ideas anyone? Thanks in advance. . . .
An example where ‘Sending’ green progress bar doesn’t always go far right and IDE hangs as can be seen from console output.
Find attached the console output when I upload the following code snippet from:
I was unable to get the snippet ‘random colours’ to work, so I started a cut-n-paste of known working snippets in an attempt to understand that function.
As the IDE hangs during upload, dis-connect is an only option. Then unable to reconnect with error as in #1 above.
Either the ‘Native’ or ‘Chrome Web App’ IDE should work fine for USB devices — it’s just the IDE website that can’t communicate with them. Baud rate doesn’t matter for Espruino USB devices either.
How are you powering the 25 neopixels? 25x 60mA is 1.5 Amps, which is more than the Pico’s polyfuse will take — while uploading your code it turns on all the neopixels random amounts and it’s pretty likely that it’ll trip that fuse and the Pico will power down, which will mess up your upload.
It’s possible that could get the IDE into a bad state where it wasn’t communicating properly, but I can’t reproduce it here.
Have you tried uploading some more simple code? There are some issues with the code you’re uploading (like writing 25 times to all the neopixels during the upload process) — it shouldn’t really cause problems, but it won’t be helping matters.
Thank you for responding @Gordon.
Although I hadn’t indicated, it is amazing how we envision anothers project. For powering Neopixels, I knew the Pico only had a 3.3V 250mA regulated output, so that option was out. I also understood that a USB 2.0 port could only supply 500mA so might run the risk of blowing that up. Didn’t want that risk, so during initial design finalization, I was able to locate a single SK6812 breakout board from DigiKey that I picked up eighteen months ago. 60mA Incidentally, I’m trying to locate that code file as it used the ‘pre neopixel’ module and worked fine then, to rule out the new module.
re: while uploading your code it turns on all the neopixels
Why should the Neopixels be activated during the ‘upload’ process? In general why would code execute during a upload/copy process?
re: There are some issues with the code you’re uploading (like writing
25 times to all the neopixels during the upload process)
Correction to link in #2 above the snippet ‘random colours’ is from example http://www.espruino.com/WS2811
Am I to understand that when using the upload button press process for right hand pane code blocks, that code is already executing before the upload is complete and before E.init is detected?
If True, wont that make for erractic code execution since some lines would execute before the corresponding function definition has been loaded?
That just strikes me as being odd.
Isn’t that what the E.init entry point is for, making sure that nothing else executes before the init() function?
http://www.espruino.com/Reference#l_E_init
I’ll continue futzin with different combinations and other code files to see if I am able to uncover any other observations.
why would code execute during a upload/copy process?
In general why would code execute during a upload/copy process?
Why should the Neopixels be activated during the ‘upload’ process?
That’s not actually the code from http://www.espruino.com/WS2811 — you added the require(«neopixel»).write(B15, arr); inside the loop — so it’s outputting 25x the 25 LED strip, and is doing so during the upload process.
Normally what you might do is:
Where the only command that’s actually executed is setInterval .
Am I to understand that when using the upload button press process for right hand pane code locks, that code is already executing before the upload is complete and before E.init is detected?
Yes — by default. Check out the Saving link above — there’s a bit of explanation in there. If you upload all at once and then execute you need twice as much memory as you need the original program text, plus the ‘parsed’ version of all the functions.
Isn’t that what the E.init entry point is for, making sure that nothing else executes before the init() function?
Yes, that’s why you should put the code you want to execute at startup inside it rather than in the body of your code 🙂
. the issue is that the loop is in level 0. (JS to be executed immediately). (the upload has already primed the module cache with the neopixel module — before the upload of the code (w/ the loop in level 0).
Saving code on Espruino
When you upload code to Espruino normally, it is stored in Espruino’s RAM. If you reset the board or power is lost, all your code will be lost.
is not good enough on page espruino.com/Saving for people who do not come from a world of Espruino where code is executed on reception, or Browser (editing/modifying the dom while receiving dhtml), or ‘writing’ Smalltalk (editing the *life image), or Basic, or Python, or any other language when in the interpreter mode / context (not in the OS or command context). just like the ZX80 / 81, ommodore Pet world, or any os (DOS) after invoking the basic interpreter. which did not have OSes, that was.
Some more has to be explained there: . uploading code means executing code on Espruino:
- statements (in level 0) are executed right away
- function as specified function abc(. ) <. >(in level 0) is also something like an immediately executed statement: assigning a function to a (global) variable w/ name as the function name, just like the alternate definition of a function using var abc = function() <. >; . (it tells Espruino to create a function with given code and store it in the global variables).
- timeouts / intervals (set in level 0) will fire when time is up and upload has not completed yet.
Entering the JS expressions in the left side is the same as uploading code on the right side — with one little but very significant difference: before (and while code is about to be sent), require(. s are detected and module is sent to Espruino Modules cache, in order to have it ready when encountered (in level 0 code on receiving it by Espruino or ‘deferred’ when application actually will run).
Opposite to the Browser where JS — all JS expressions — between the script tags are received and parsed as block ***before execution *** of the block***, Espruino executes after reception of every complete JS expression that very expression.
It appears I have two or more simultaneous issues to resolve. The more difficult debugging task, rats!
Point: As I have been unsuccessful at completing an upload, it would not be yet possible to learn that a line(s) of code are corrupting the upload process.
An interesting Catch-22
Now that it has been made clear that code can execute before uploading is complete and possibly cause an IDE error, I’ll start with that. Never occurred to me that upload could become corrupt from a static code file.
One can not learn of this precious factoid link as there is no entry point to that page:
There is only one hyper link on an unrelated topic ‘code is lost on power up’ in
http://www.espruino.com/FAQ
FYI Typing in search the most obvious term ‘uploading’ returns no results
Thought: When flashing new firmware, is the entire chip erased similarly to a format command, or are the contents of the Flash portion remain in tact, similarly to how the bootloader remains untouched?
Flashing also erases uploaded code that has been saved (erase may not be the exact fact, but the pointers to the saved code are gone or the state that there is saved code is reset). Once saved code, there is always saved code. even uploading an empty editor (which is the method I use to remove saved code). The startup log entries are different: mentioning the execution of saved code is absent after flashing, and present after upload.
May be there is another way to remove the information about saved code than (re)flashing (with same version).
Would someone that is able to flash an Espruino device without interrupting their current project be so kind as to provide a sanity check for me please.
There appears to be some confusion from what appears to be opposing statements #10 @allObjects:
re: Flashing also erases uploaded code that has been saved
re: Once saved code, there is always saved code
When I flash a Pico on a Win10 PC via the native IDE Settings >> Flasher >> Flash Firmware, every other Tuesday, when the wind is from the NW, skies partly cloudy, facing due East at precisely 07:01 pm CST, after a walk, but before having something to eat, disconnect, re-connect and
type ‘dump()’ in the Left-hand terminal window pane of the IDE, Javascript statements appear, although not orderly and possibly garbled.
My observations of present code contradict the two statements above. Could this garbled detail be from the IDE memory space and not the Pico? (no)
This makes sense:
re: but the pointers . . . . are gone
Did I mis-understand the point in #10 above, or should I do this on a Thursday instead?
statements (in level 0) are executed right away
@allObjects I would like to learn more about ‘level 0’ as you indicate in #8 above:
Presumeably there are other levels?
I found an article, but no mention, so must not be clued in on the correct verabage to submit to a Google search.
Thank you in advance, Robin
Perhaps a better term would be global scope. The next level would be inside a function, so anything declared within a function is not accessible outside the scope of the function. Modules are an example of this. The only access to objects methods and variables are the items that get exported.
@Robin, sure. I’m in a time bind right now, but like to come back on the term ‘level 0’, or global scope/context — as @Wilberforce — points out. Pls ping me when I do not followup.
Saving — One can not learn of this precious factoid link as there is no entry point to that page
It’s there — a (more information) link after You can save the state of Espruino so this doesn’t happen using the save() command on http://www.espruino.com/Quick+Start+Code (which is where you’d go after you followed the USB/BLE Quick Start to get connected). It’s also linked from the FAQ and Troubleshooting.
I’ll add a keyword for ‘upload/uploading’. I’m open to suggestions for extra places to link it, although there’s a huge amount of information on the Espruino site, and it’s a constant struggle to provide users with enough information to get started without overloading them to the point where 90% of them don’t read anything.
@allObjects I know what you mean about Saving perhaps not properly explaining everything — again, I’m open to contributions.
When I flash a Pico on a Win10 PC via the native IDE Settings >> Flasher >> Flash Firmware. dump() . Javascript statements appear
Could you post up the code that appears?
Your question about flashing to format all saved code is a little more involved than ‘yes’ on some devices, but on the Pico&WiFi it’s not. If you reflash the Pico using the IDE and it completes successfully, it will erase all code. I can guarantee that.
So if it isn’t erased then either the flashing hasn’t worked, or code got uploaded since you did the flashing.
On Espruino 1v99 and later, just type reset(true) and it’ll remove all saved code though — it’s quicker and easier 🙂
As @Wilberforce says — global scope is probably a more general term here.
I think JavaScript in a webpage is a good example here — If you write:
On a webpage, that’s going to make the webpage take a very long time to load enough to show Some more text , and probably the browser will report an error after a while. That’s running in what we’re calling level 0 or the global scope here.
Then that’s merely defining a function containing the code. The for loop isn’t in the global scope, but function iWillTakeALongTime() < . >is. The statement function iWillTakeALongTime() < . >is still being executed, but the result of executing that statement is that a function called iWillTakeALongTime is loaded into memory, not that the for loop gets executed.
@Gordon, there is still a bit of apparent confusion here. Although I have a better grasp on these issues, I feel that anyone new to this environment would have a heck of a time understanding what is going on. As did @allObjects also pointed out in #8. I only mention the following as it is likely that they might go down the same path.
re: ‘it’s a constant struggle to provide users with enough information to get started without overloading them’
Yes, agree totally. It is a very complex topic to handle all situations for each possible type of users development environment. No complaints
from me. The documentation is rather complete and easy to understand.
re: ‘You can save the state of Espruino so this doesn’t happen using the save() command’
From #6 I originally asked:
‘In general why would code execute during a upload/copy process?’
The response was the http://www.espruino.com/Saving link. On that page,
‘it’s easy to save your code to flash memory and make it permanent’
So, as I read that, those concepts are on how to ‘save’ and use of the ‘save'()’ command. But the thought process is on the ‘uploading’ task.
And, I’m stuck in that task at the moment. This is not the act of saving which is a task that is done to preserve commands once working. I was in the process of attempting to get code sent to the Pico to get it running, not commands to save code that hadn’t yet been written. Big difference.
Incidentally adding will help
‘I’ll add a keyword for ‘upload/uploading’
When the response from #6 was received, it didn’t make sense to read on with the second sentence indicating to save code.
‘it’s easy to save your code to flash memory and make it permanent’
Even after reading the ‘Saving’ page, still haven’t found what I need to know about the original question posed:
‘In general why would code execute during a upload/copy process?’
This is why @allObjects also agreed and posted his observations in #8
‘Why‘ has been explained in #6 and #8 no need to re-hash.
Mon 2018.08.20
Well, this is getting rather lengthy, but I’m hangin’ in there as this might assist others in a similar situation.
Thank you to @allObjects and @Gordon in their responses above as their insight provided enough to resolve what is going on.
I’m replying in several more manageble chunks to make review easier and as I’m not sure of the reply char count max.
There were three separate simultaneous situations going on:
1) A repeatable project code file load native IDE anomaly
that occurs when uploading using the Right-hand text-editor pane, when:
2) Syntactically correct Javascript lines of code, but poorly placed
causing the upload process to not complete, that then causes repeatable error:
3) ‘Unable to retrieve board information. Connection Error?’
As the IDE freezes, the only way to continue is to close the IDE and power down the connected device
Recap:
Eighteen months ago, I had a single SK6812 Neopixel demo working powered by a Pico using code fragments that are now superceeded by the ‘neopixel’ module.
ref old Neopixel commands (circa Jan 2017)
To assist another in a separate forum post, I fired up my Pico mounted on a breadboard. Unable to locate that older working code file, I copied the snippets and ‘random colours’ from the current Aug 2018 tutorial http://www.espruino.com/WS2811
Upon upload not completing, the error ‘Unable to retrieve board information. Connection Error?’ occurs.
As the pre ‘neopixel’ module code worked six months ago, my first incorrect conclusion was to blame the new module.
The response from #7 set me straight that I was on the wrong solution path.
I found the documentation superb and the authors need be recognized for their efforts. I only point out the following in the anticipation of helping others.
Error: ‘Unable to retrieve board information. Connection Error?’
The user is stuck in a Catch-22 at this point. As code ‘Send to Espruino’ never completes the upload process, one is unable to load the debugger, nor is one able to garner much more from the IDE console output. Without ample prior awareness and a load of actual usage, one may not have the insight as to what to do. The reason I started this post.
It is not intuitive that a static code file can cause the IDE to freeze
I agree with @allObjects in #8
re: for people who do not come from a world of Espruino where code is executed on reception
for the intuitive reason I stated. As one is able to type commands directly in the Left-hand pane terminal window
and later learn that the same commands can also be typed in the Right-hand text editor, it never becomes obvious that a static ASCII file may cause issues as did this one I uncovered.
Syntactically correct Javascript lines of code, but poorly placed
Reading the link provided by @allObjects in #5 above, then @Gordon #3 comment Have you tried uploading some more simple code?
and after twenty plus upload restart cycles isolated the fact that code in a static file was in fact the culprit. I learned this before the balance of the responses, but those helped, as it validated what I was also seeing. A big plus.
Actually taking a close inspection of the results of ‘dump()’ and after reading:
‘You may be able to save code to Espruino that puts it into a state that stops you from reprogramming it.’
Here was the a solution to my issue that provided the insight as to what was going on:
‘holding down a button while applying power can be used to force the device to boot without loading any of the saved code’
In that process however, I noticed an IDE anomaly, that through sheer persistance was the root cause of not being able to make progress:
A repeatable project load native IDE anomaly
Related issue but could be considered a unique new thread:
re from #6: That’s not actually the code from
I’ve discovered a near 100% repeatable anomaly with the IDE.
Create code in Right-hand pane, upload to Pico, debug-upload, then when satisfied saved file to disk. Make edits to code in Right-hand pane, save then upload. If upload progress hangs and does not complete, disconnect and close the IDE. At this point your only option. Key point: Upload Hangs
I actually commented out the offending Neopixel write and delay lines. But, . . . .
Here is where the anomaly occurs. When the IDE is relaunched, the last code edits that were saved to disk do not get loaded into the Right-hand pane, leaving the corrupt code present that then also does not completely upload to the Pico. At this point, the anomaly is 100% repeatable. If not paying attention and miss that the old code is still there as it is beyond the 30 visible lines on IDE relaunch and then fail to manually reload the file that was saved to disk, one is stuck in the inability to get any code moved on to the Pico at all. This is partially what was causing my headaches, but I am now wiser to take the extra step and reload the code from disk EVERYTIME the IDE is restarted.
Why doesn’t the last saved file get loaded into the Right-hand pane on relaunch, . . . . Everytime?
Incidentally, the saved edits do appear in the ASCII file save to disk Win10 edit file reveals this fact.
Still need an explanation as to why the Pico Board Information appears to be recognized by the IDE Settings >> About, but when one attempts to connect, the error ‘Unable to retrieve board information. Connection Error?’ occurs. Why does the IDE understand the Pico data block but extracting that from the Pico is unsuccessful? Related to the apparent caching that occurs with the user saved code?
The ol’ saying: ‘Experience is what you get, when you didn’t get what you wanted’
It’s interesting to note that two missing slashes that weren’t getting reloaded after a manual save could cause such fun! 😉
It never becomes apparent that the last saved file is not getting reloaded, when code edits are beyond visible line 30 during app launch. It is as if a cached file image is never updated, and on relaunch that the pre-save image is used rather than the actual file content that is on disk. This actuality is what blocked me from making progress. You never see a visible change in the Right-hand pane on relaunch so most likely would never think to look lower down, further into the file to see if the changes took place. Why should one, when a save was last initiated? One expects save, well to actually save and re-launch to actually load our previously saved code.
I also had to hold down the reset button and plug the Pico in to erase, before I could successfully upload. Once at least one valid code block did upload, I was able to continue edits and upload went fine from then on.
An individual new to this environment most likely would never know what to do at this point either. I hope these last three Situation posts and this Summary will assist others, should they have the same error.
Thanks again @Gordon and @allObjects for the insight in providing enough to get me up and running. This was one heck of use of time, but did provide a wealth of Experience. . . .
As @Robin AND @Gordon point out regarding my self doubt about a better way to clear saved code then re-flashing [see post #10] by using reset(1) as available in most recent release 1v99, I recognize that I have the rekindle my vigilance to absorb and take to heart to have top of my head all the great enhancements of every release to even a greater level as 4+ years ago when I fell in love with Espruino. 😉
Why doesn’t the last saved file get loaded into the Right-hand pane on relaunch, . . . . Everytime?
It’s a restriction of the Chrome Web App unfortunately — it’s very hard do do anything when the app closes — so you either have to save every change (in which case Google has a limit to the number of saves to cloud storage) , or every upload — which is what I have been doing.
The new IDE code should help with this, but that’s not live for Native IDE and Chrome Web App user yet.
Could you upload the exact code file that gave you the upload error please? Then at least i can try and figure out why it is breaking.
Источник
Unable to retrieve board information. Connection Error? on Bangle.js 1 using Native IDE
Hi, I would like to connect to the Bangle.js using the native IDE. I am using the most current version (0.75.8). I can connect to the Bangle watch using bluetooth. But if I try to connect using the IDE, I get the following error: «Unable to retrieve board information. Connection Error?». But the connecting itself works: «Connected to f5:ca:36:76:82:be (No response from board)».
The bangle.js has the current firmware 2.11 and I already tried a hard reset. In the settings, I have set
The baud rate in the IDE is 9600.
Do you have any idea what might cause this connection error and how I might fix it? I also tried the Web IDE, but it does not really connect to my Laptop (it is a HP laptop with Windows 10).
Thanks in advance.
Ahh, I think this could potentially be an issue with the ‘Winnus’ module that handles bluetooth and the upgraded packet length in newer Espruino firmwares. I think the only real fix would be us building a new IDE version.
However, I think you’d be much better off using the normal Web IDE — it should work perfectly with Windows 10. What issues did you have connecting with that? I think it’d be much easier to sort that out.
- Bold
- Italics
- Link
- Image
- List
- Quote
- code
- Preview
Formatting Help
Don’t worry about formatting, just type in the text and we’ll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
- Create headers by underlining text with ==== or —-
- To *italicise* text put one asterisk each side of the word
- To **bold** text put two asterisks each side of the word
- Embed images by entering:
![](https://www.google.co.uk/images/srpr/logo4w.png)
That’s the hard one: exclamation, square brackets and then the URL to the image in brackets. - * Create lists by starting lines with asterisks
- 1. Create numbered lists by starting lines with a number and a dot
- > Quote text by starting lines with >
- Mention another user by @username
- For syntax highlighting, surround the code block with three backticks:
«`
Your code goes here
«`
Just like Github, a blank line must precede a code block.
For a full reference visit the Markdown syntax.
Источник
Unable to retrieve board information.Heltec wifi kit
Hello Community,
I am totally new to this community. I am facing a issue which may be really common issue.
I flashed my Heltec Esp32 Automation kit with «espruino_esp32.bin» Upon flasing I saw below console message.
Using first port, <«path»:»/dev/ttyUSB0″,»usb»:[10,null],»description»:»Silicon Labs»>
Connecting to ‘/dev/ttyUSB0’
No result found for «process.env» — just got «»
Unable to retrieve board information.
Connection Error?
Connected«`
I am using Heltec Automation WiFi Kit 32 V2 and attached is the bin file I used
Same problem, did you found solution?
- Bold
- Italics
- Link
- Image
- List
- Quote
- code
- Preview
Formatting Help
Don’t worry about formatting, just type in the text and we’ll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
- Create headers by underlining text with ==== or —-
- To *italicise* text put one asterisk each side of the word
- To **bold** text put two asterisks each side of the word
- Embed images by entering:
![](https://www.google.co.uk/images/srpr/logo4w.png)
That’s the hard one: exclamation, square brackets and then the URL to the image in brackets. - * Create lists by starting lines with asterisks
- 1. Create numbered lists by starting lines with a number and a dot
- > Quote text by starting lines with >
- Mention another user by @username
- For syntax highlighting, surround the code block with three backticks:
«`
Your code goes here
«`
Just like Github, a blank line must precede a code block.
For a full reference visit the Markdown syntax.
Источник
I can’t get started. Flashing seems OK, Espruino Web IDE not connecting.
Hi, I am brand new at this.
I can’t get started. Flashing seems OK, well from esptool.py point of view.
My board says ESP-12F and ESP8266MOD on the chip.
I have tried all flashing versions of the readme file in both espruino_1v99_esp8266.tgz and espruino_1v99_esp8266_4mb.tgz. I just do not know what more to try.
The Espruino Web IDE says everytime I’ve flashed and tried connecting (using 115200 baud):
Unable to retrieve board information. Connection Error?
Connected to COM5 (No response from board)
What else can I do?
Hello @user94635, I have limited experience with the ESP8266 but thought I’d pass along the following. I know how frustrating it may be at times and having at least someone acknowledge that their post was read makes the going a little more tolerable.
Have you checked out these similar posts?
Have you verified the baud rate both at the terminal end and the IDE under Settings >> Communication?
May be a bit off putting, but have you tried an earlier version and what if any error appears?
When I have encountered this error with the Pico, the only recovery was to disconnect the IDE, close the IDE then power down the device. Performing the reverse, then re-uploading code or in this case re-flashing may be the only option. Have been battling this for over a month now, although frequency is down to once every three days or so.
Which IDE native, Chrome or Web and what version? As persuaded by staff have recently upgraded to native 0.70.4 and have my fingers crossed. Hasn’t happened yet.
What PC and OS is being used?
Try to connect firs from terminal. Eg minicom in linux
I am using Windows 10 and tried a serial connection in putty every time as well after flashing the device.
Yes I verified the baud rate both in the Espruino web ide and in putty.
And after every time I flashed the device I tried to connect with both the web IDE and a serial connection in putty and then power cycle the device (disconnect from the usb). Still nothing. I am assuming that I am getting the wrong addresses in the flashing process but I have tried every set of addresses I have seen. I have not tried to downgrade the version though. Will try that.
It is an AI Thinker ESP-12F (ESP8266) device. Do the flashing addresses match this device? How can I find out what the addresses should be?
Please provide us with your exact flashing procedure, step by step, including esptool command lines with parameters.
If that looks ok, it could be a board problem or a communications issue.
I use the CH340 USB to serial driver (COM5:)
I’ve installed python and esptool.py. I’ve used this to flash ESP8266 boards for microPython and that works fine.
From putty I am trying to connect to the board directly with 115200 baud and then I power cycle it and try again. After that I attempt the Espruino Web IDE with 115200 baud.
I have also tried this esptool.py line:
which flashes the board, also tried this one:
but that one says: Detected overlap at address: 0x7c000 for file .
Still no console in putty or the Web IDE
Finally got it. YiiiiiHaaaa.
Congratulations! 🙂 Any ideas what it was? I see you changed a few things in the end.
for all 4MB board features
Details can be find here http://www.espruino.com/EspruinoESP8266 in section Build Content
@MaBe Thats why I’m kind of curious. That setting is one that didn’t work for him. The changes he made in his working final flashing seemed to be «—flash_size=detect» and «—baud 460800» and «espruino_1v99_esp8266_4mb_combined_4096.bin», which I assume elimited the wrong address (» 0x7c000 for file . «) problem. So maybe it was the the removal of the addresses, and the use of the combined file that did it.
I’m just wondering what the working change was. For me I always use the standard from the README file and has never been a problem for me.
Great thanks to @MaBe (and @Gordon and many others. even though not very active anymore, like @tve and @Kolban and . all the others I miss in this list) to keep this free-be 8266 ESP thing in good health!
I am having a similar problem with a NodeMCU. I tried the line in (post that helped the topic starter, but to no avail.
- Flashing seems to go fine (see bottom of this post)
- I can sometimes access the Espruino prompt in Putty (1 out of 3 or 4 tries)
- I never see a prompt in Espruino
When I click the connect button in Espruino and choose the COM port, then I see the following in the IDE:
- an orange box with text «Disconnected»
- a line with some garbage text «0 űÁ»
- a red box with text «Unable to retrieve board information. Connection error?»
- a green box with text «Connected to CO4 (no response from board)»
Here is my line that I use for flashing:
And here are the flash results:
I can upload any Arduino sketch that I have to this module (NodeMCU from Amica), and they all work as expected. So, I think the module is fine. I don’t have any others to try right now.
Any help is appreciated
If you get the garbage text in the IDE, is your baud rate set correctly? Also, did you reset the board out of bootloader mode?
If the board itself is unstable it’s possible it’s just a broken board. If the power supply is dodgy (bad capacitor) the ESP8266 can just reset itself as soon as it tries to initialise WiFi.
Baudrate is set to 115200. I always do a power cycle after flashing, so that should qualify as a reset, correct?
Tonight I will try to power it from an external supply and see if I can connect.
Thank you for the hints @Gordon
Oh, @Gordon do you happen to know which capacitor I should look at?
Honestly, no idea — probably the big ones! If you have an oscilloscope then try looking at the 3.3v rail and see if the voltage fluctuates at all.
At the end of the day though, if you spent £5 on a board there’s probably a limit to how much time and money you want to spent trying to fix it 🙂
You are probably correct about that. although, it can give some satisfaction if you solve an issue like this.
I am having a similar problem with a NodeMCU. I tried the line in (post that helped the topic starter, but to no avail.
I have the same problem on the same ESP8266 V2 (NodeMCU from Amica) board.
I tried all the versions firmware but I can not find a solution to the problem.
Under the esplorer and ardiono IDE board works great.
I have been using ESP32s (dev kit1) with ESPriino for a long time and have not seen such problems.
port speed: 115200 (I tried different 9600-115200)
*** To flash a 4MB esp8266 (e.g. esp-12) using the serial port use:
*** To flash a 4MB eps866 with Flash map 4MB:1024/1024 (BOARD=ESP8266_4MB)
what I see Putty is working . I do not understand
What about baud rate in IDE? . and on your Putty port? What in between 9600-115200? — Some flip the baud rate in boot process. (Where is the 1st line shown in putty coming from?)
In IDE espruino tried everything in speed options — does not work.
Putty only works on 115200
I don `t know » where is the 1st line shown in putty coming from»
but she is not there alone 🙁
Please check post #10 and add this option to the flash command.
- Bold
- Italics
- Link
- Image
- List
- Quote
- code
- Preview
Formatting Help
Don’t worry about formatting, just type in the text and we’ll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
- Create headers by underlining text with ==== or —-
- To *italicise* text put one asterisk each side of the word
- To **bold** text put two asterisks each side of the word
- Embed images by entering:
![](https://www.google.co.uk/images/srpr/logo4w.png)
That’s the hard one: exclamation, square brackets and then the URL to the image in brackets. - * Create lists by starting lines with asterisks
- 1. Create numbered lists by starting lines with a number and a dot
- > Quote text by starting lines with >
- Mention another user by @username
- For syntax highlighting, surround the code block with three backticks:
«`
Your code goes here
«`
Just like Github, a blank line must precede a code block.
For a full reference visit the Markdown syntax.
Источник
MDBT42Q — IDE is «Unable to Retrieve Board Information»
I’ve updated the firmware using nRF Toolbox. When I pair to the chrome IDE I get the following error after it attempts to connect. I also attached a screenshot.
WARNING: No result found for «process.env» — just got «»
ERROR: [notify_error] Unable to retrieve board information. Connection Error?
Device found <«portName»:»Wave AD2833″>
[success] Connected to Web Bluetooth, Wave AD2833 (No response from board)
Connected to Web Bluetooth, Wave AD2833 (No response from board)
The second screenshot shows the errors I get when go ahead and try to send the code. It says the firmware is pre-1v96 but it’s not. It’s 2.01.
I’ve tried a hard reset and it doesn’t seem to work. The green light stays lit which is probably from our firmware.
This is a MDBT42Q module built into our custom PCB that’s made by macro fab. Also, we had 8 other boards that connected and uploaded successfully, which is why this is so puzzling.
Is there another reset option beyond the 5 second hard reset I could try? Any other thoughts? Thanks in advance.
Hi — so you renamed your MDBT42 to Wave AD2833 in the code? My guess would be that your code does something that either takes hold of or breaks the Bluetooth UART connection. The IDE isn’t seeing a response to its query so it is assuming an old firmware — realistically you’re not going to get any luck out of the module connecting straight with the IDE like that.
. potentially it could just be a hardware issue — if the MDBT42 wasn’t powered correctly it might be getting just enough power to advertise, but not to sustain a connection. I think that’s probably unlikely, but I have had it happen.
Do you have a button connected between D0 and VCC (or a way to connect D0 to VCC?) that you used for the hard reset? If that works then you really should be able to just hold it and boot without loading any of the saved code — and it should appear as MDBT42. again.
Even if somehow that doesn’t work you should be able to short-press to enter DFU. When that’s done you can upload a new firmware and then the new firmware will automatically ignore anything saved with save() — if you saved with ‘save on send’ then it’ll still load it though
Unlikely that it’s power since all the other boards were powered the same way, so it’s good to know that it’s probably not a hardware issue.
We do have a reset button. I can use it successfully with the short press to update the firmware, but the 5-second press doesn’t work unless I’m able to connect the IDE and run reset(true) first. Of course I can’t do that since it won’t connect to the IDE.
Can you clarify what mean by «If that works then you really should be able to just hold it and boot without loading any of the saved code — and it should appear as MDBT42. again.» — Is this different from holding it while I power it on for a hard reset?
I have tried uploading new firmware but that didn’t change anything. Probably because we had ‘save on send’ set to flash — execute code at boot. even after reset.
Unlikely that it’s power since all the other boards were powered the same way
It might still be worth checking the VCC voltage — since it’s a small production run it might be one component isn’t connected properly.
The ‘hard reset’ — a long (
5s) press at boot should boot without loading any of the previously saved code, so the device will advertise as it came before ( MDBT42. ) and should work again until the next power cycle. It won’t remove any of the saved code on MDBT42 afaik, but it should still allow you to connect with the IDE and issue that reset() .
Probably because we had ‘save on send’ set to flash — execute code at boot. even after reset.
In that case it may still get loaded, regardless of the button press state. That’s going to make your life really painful.
One more option is to attempt to connect using the UART pins which may still work even if the code you uploaded somehow messed up bluetooth: http://www.espruino.com/MDBT42Q#pinout — but they may not be brought out on your board.
You could also connect using an SWD programmer if you have those pins available and erase everything that way as well.
Potentially there might be a way to have a specially formed DFU upload that erased all the saved code in the device as well, but I don’t have one of those available at the moment.
Just to confirm — saving as execute code at boot, even after reset will mean the hard reset doesn’t work. I should probably make it come with a warning as it was only really intended for very specific use cases.
Very helpful — thank you!!
If I discover anything else I’ll keep the forum updated.
Источник
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
1 |
|
17.08.2020, 17:21. Показов 3360. Ответов 15
Здравствуйте. Хочу подключится к удаленной базе данных. Пробовал хостинге Fornex, даже купил его но мне ответили что удаленная база данных у нас нет, надо покупать другой хостинг. Я решил попробовать Хостинг ДЖИНО. И после регистрации мне дали бесплатный доступ. Зашел я в панель управления и создал там базу данных. Написал имя пользователя : pops-tuuu И имя базы данных : pops-tuuu_qmlws. Пароль установил. На phpMyAdmin зашло успешно. После попытки подключится к базе данных в Visual Studio у меня появилась ошибка и я обратился в службу поддержки. Мне сказали «Если вам нужно удаленная база данных то перейдите в раздел Управление MySQL > Доступ по IP и добавить разрешенный IP«. Я добавил IP. После этого опять захожу в Visual Studio, выбираю: Ладно, если я подключаю даже к MySql Database то тоже появляется ошибка : «Unable to retrieve the list of database.«. Я знаю как все эти ошибки переводятся, просто не знаю их причину. Захожу в программу Microsoft Sql Server Management. Там пробую подключится и выводит ошибку: «ЗАГОЛОВОК: Соединение с сервером Чтобы получить справку, щелкните: http://go.microsoft.com/fwlink… nkId=20476 Вообщем то можно сказать 3 ошибки. В деле я не давно, но уже как 4 дня застрял. Не могу не как подключится. Прошу писать по теме. Я ожидаю от вас помощи!
__________________
0 |
1496 / 1238 / 244 Регистрация: 04.04.2011 Сообщений: 4,356 |
|
17.08.2020, 18:18 |
2 |
1. Есть на данном хостинге MySQL ? ЗЫ. Бесплатный сыр только в мышеловке.
0 |
796 / 579 / 207 Регистрация: 21.02.2019 Сообщений: 2,095 |
|
17.08.2020, 18:21 |
3 |
.. там бы еще добавить (включить) протокол TCP для обоих типов серверов …
0 |
Фрилансер 3703 / 2075 / 567 Регистрация: 31.05.2009 Сообщений: 6,683 |
|
17.08.2020, 18:26 |
4 |
Вот если честно — мало что понял. QmlwZ, Вы к чему хотите подключаться — MS SQL или MySQL? Вы понимаете, что это совсем разные базы?
0 |
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
17.08.2020, 20:04 [ТС] |
5 |
Black Fregat, Извините, я на данном форуме недавно так что отвечать именно вам я не знаю, только если нажимаю на «Быстрый ответ на это сообщение» Возможно поможет. Я пытаюсь подключится к MySql сервер, но уже как долгое время мучаюсь. Возникают ошибки. Добавлено через 3 минуты Добавлено через 8 минут Добавлено через 34 минуты «В деморежиме будут недоступны некоторые функции контрольной панели, т. е. вы не сможете, к примеру, подключить себе поддержку Python или выделенный IP. Отключить услуги тоже будет невозможно.»
0 |
1496 / 1238 / 244 Регистрация: 04.04.2011 Сообщений: 4,356 |
|
17.08.2020, 21:10 |
6 |
Подключение к удаленному MySQL: Добавлено через 4 минуты
Microsoft Sql Server А это с какой радости ? На хосте же MySQL ?
0 |
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
17.08.2020, 21:16 [ТС] |
7 |
MsGuns, Я думаю это у меня уже хостинг не позволяет.
0 |
1496 / 1238 / 244 Регистрация: 04.04.2011 Сообщений: 4,356 |
|
17.08.2020, 21:22 |
8 |
1. Вам надо проверить работает ли MySQL на хосте. 2. На хосте подкручиваете MySQL на удаленную работу. (Инструкция на приведенном Вами ресурсе прилагается) 3. Скачиваете phpMyAdmin себе на ПК, устанавливаете. Добавляете настроенный сервер MySQL. Проверяете. Работает. 4. Добавляете на MySQL юзера и логин. Проверяете. Работает. 5. Создаете на MySQL БД, делаете доступ к созданной БД нового (только что добавленного) юзера. 6 Грузите VS, вызываете службу серверов. Настраиваете удаленный сервер. 7. Добавляете в проект EDM, в диалоге создания соединения выбираете удаленный MySQL и БД. Получаете модель с нужными классами и контекстом. 8. Работаете как обычно. Добавлено через 4 минуты
Я думаю это у меня уже хостинг не позволяет. Что не позволяет ? MS SQL Server ? Вы же сами говорили, что хост с MySQL Server.. Т.е. заказывали пиццу, а ждете заливного поросенка, борщ по-украински с пампушками, жареную курицу, маринованные рыжики и бутылку зубровки ?
0 |
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
17.08.2020, 21:23 [ТС] |
9 |
MsGuns, вау, спасибо что так подробно все объяснили как и что сделать.
0 |
1496 / 1238 / 244 Регистрация: 04.04.2011 Сообщений: 4,356 |
|
17.08.2020, 21:30 |
10 |
И еще — Вы определитесь ЧТО вам нужно 1. Удаленный SQL-сервер, уточните какой именно (MySQL, PosgreSQL, Oracle, DB2, MS SQL Server..) для того, чтобы «можно было подключаться с любого ПК» 2. Доменный хостинг для публикации Web-проекта. Тогда Вам нужен не просто хост, а хост с Windows Server, IIS, MS SQL Server Enterprise или подобный. На этом веб-сервере Вы сможете опубликовать Web-проект, спроектированный в VS. 3. ? Добавлено через 1 минуту
Просто у меня демоверсия и мне пишет что MySql запрещен. Демоверсия ЧЕГО ? Хоста ?
0 |
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
17.08.2020, 21:34 [ТС] |
11 |
MsGuns, уже определился. Добавлено через 37 секунд
0 |
1496 / 1238 / 244 Регистрация: 04.04.2011 Сообщений: 4,356 |
|
17.08.2020, 21:57 |
12 |
Вы уже создали «маленький сайт» ? Т.е. Вы собираетесь построить дом, но уже не только заказали обстановку и отделку, но и пригласили гостей для новоселья ? Проект (маленький сайт) вполне себе комфортно и самодостаточно делается локально. Т.е. на Вашем ПК. Куда помимо студии надо установить MYSQL вместе со всеми тряпками (SQL Client, MySQL Admin или-его-там) Когда проект весело запляшет на Вашем ПК стОит подумать о публикации. На эту тему информации в инете много больше, чем дохренища. Причем Вам надо будет позаботиться также и о Web-сервере. Для VS-проекта апач, например, не подойдет (а именно его предлагает 90% хостеров). Тогда надо будет найти хост с никсом и туда установить эмулятор IIS для никсов. Или хост с Windows Server & IIS & MySQL, но такой вряд ли будет бесплатно. По поводу хостов. Триальных бесплатных хостов в инете моря и маленькие речки. От 3-х дней до месяца, если не изменяет память. В любом случае — гугл в помощь. PS. А почему такая тяга к мускулу ? Первая любовь, сирень-черемуха, поцелуи под липами и т.п. ? Добавлено через 10 минут По большому счету при правильном проектировании с полноценным и грамотнsм юзании Entity Framework тип SQL Server роли не играет. Можно спокойно cпроектировать приложение + БД например на MS SQL Server Experss (бесплатное приложение к Visual Studio), а потом легко смигрировать на тот же MySQL с минимальными правками проекта.
1 |
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
17.08.2020, 22:24 [ТС] |
13 |
MsGuns, спасибо конечно что вот так все расписываете и рассуждаете. Спасибо и за заметку того что лучше сделать сайт локально. Делал я программу для того что бы она вычисляла у человека компьютер и давала данные на сайт, я делал это все на локальной базе данных. После этого генерировал ключ и активировал программу. Вот и хочу посмотреть как это у других людей будет, будет ли у них работать алгоритм, не возникнут ли ошибки. Все есть а вот как дошло до того что бы выпустить сайт в интернет пошли проблемы. Хочу все так же сделать только на удаленной базе данных. Хостов много бесплатных, но не к одному не смог подключится к базе данным. Да и сайт не выпускал, так как в основном только дают удаленную базу данных. Я в этом деле новичок, мало чего тут понимаю, хочу протестировать и для дальнейшего мне это пригодиться. Добавлено через 18 минут
0 |
796 / 579 / 207 Регистрация: 21.02.2019 Сообщений: 2,095 |
|
18.08.2020, 09:35 |
14 |
Сообщение было отмечено QmlwZ как решение РешениеQmlwZ,
1 |
78 / 67 / 13 Регистрация: 04.10.2018 Сообщений: 327 |
|
18.08.2020, 10:37 |
15 |
А так?
1 |
2 / 2 / 0 Регистрация: 10.08.2020 Сообщений: 168 |
|
18.08.2020, 17:58 [ТС] |
16 |
carrotik, спасибо, я уже разобрался в чем дело. Добавлено через 23 секунды
0 |
Форум РадиоКот • Просмотр темы — STM32 перестали работать в CubIDE
Сообщения без ответов | Активные темы
ПРЯМО СЕЙЧАС: |
Автор | Сообщение |
---|---|
|
Заголовок сообщения: STM32 перестали работать в CubIDE Добавлено: Ср авг 10, 2022 22:44:43 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
Всем привет! Ребята, кричу HELP. Возникла проблема, с которой уже неделю сижу, никак не могу решить ее, что я только не делал. В общем, купил я года так 3-4 назад stm32f103c8c6 у одного чувака, взял новый, но он их тоже с алиэкпресс, помойму, скупает. Вложение:
«Error in final launch sequence: Failed to start GDB server Но через утилиту «STM32 ST-LINK Utility» они все прошиваются! Без проблем! Программатор ST-LINK V2 (китайский). Проблема скорее всего не внем, ведь первый микроконтроллер прошивается же. В утилите он тоже конектится: Вложение:
Мои настройки: Вложение:
Вложение:
Как я пытался решить эту проблему: 2) Делал «Firmware update» через утилиту «STM32 ST-LINK Utility» 3) В файле «stm32f1x.cfg» изменял «0x1ba01477» на «0x2ba01477» Вложение:
4) Менял настройки на «ST-LINK(Open OCD)» https://disk.yandex.ru/i/-bTJeWabcyBcUQ Я уже теряюсь в догадках, не знаю что и делать. Закупил 10 штук таких STM32, неужели мне их придется выкидывать, и забыть про эти бюджетные варинты и работать только с дорогими оригиналами? Кто сталкивался с этим подскажите пожалуйста!!! |
Вернуться наверх |
Профиль
|
Реклама | |
|
|
ART_ME
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 05:04:03 |
||
Карма: -22 Рейтинг сообщения: 0
|
А что мешает сделать очевидное — попробовать поработать с этими же МК в другом IDE? |
||
Вернуться наверх | |||
Реклама | |
|
|
maksimdag0
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 08:06:32 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
ART_ME писал(а): А что мешает сделать очевидное — попробовать поработать с этими же МК в другом IDE? Мне cubide по душе да и она бесплатная, ещё keil по душе но у неё ограничение имеется. |
Вернуться наверх | |
4airy
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 08:35:28 |
||
Зарегистрирован: Вс июл 24, 2022 11:42:22 Рейтинг сообщения: 0
|
Добрый день. UPD: |
||
Вернуться наверх | |||
Реклама | |
|
Выгодные LED-драйверы для решения любых задач КОМПЭЛ представляет со склада и под заказ широкий выбор LED-драйверов производства MEAN WELL, MOSO, Snappy, Inventronics, EagleRise. Линейки LED-драйверов этих компаний, выполненные по технологии Tunable White и имеющие возможность непосредственного встраивания в систему умного дома (димминг по шине KNX), перекрывают практически полный спектр применений: от простых световых указателей и декоративной подсветки до диммируемых по различным протоколам светильников внутреннего и наружного освещения. Подобрать LED-драйвер>> |
ART_ME
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 11:17:47 |
||
Карма: -22 Рейтинг сообщения: 0
|
ART_ME писал(а): А что мешает сделать очевидное — попробовать поработать с этими же МК в другом IDE? Мне cubide по душе да и она бесплатная, ещё keil по душе но у неё ограничение имеется. А разве я предлагал Вам перейти на другой IDE? |
||
Вернуться наверх | |||
Реклама | |
|
|
Реклама | |
|
LIMF – источники питания High-End от MORNSUN со стандартным функционалом на DIN-рейку На склад Компэл поступили ИП MORNSUN (крепление на DIN-рейку) с выходной мощностью 240 и 480 Вт. Данные источники питания обладают 150% перегрузочной способностью, активной схемой коррекции коэффициента мощности (ККМ; PFC), наличием сухого контакта реле для контроля работоспособности (DC OK) и возможностью подстройки выходного напряжения. Источники питания выполнены в металлическом корпусе, ПП с компонентами покрыта лаком с двух сторон, что делает ее устойчивой к соляному туману и пыли. Изделия соответствуют требованиям ANSI/ISA 71.04-2013 G3 на устойчивость к коррозии, а также нормам ATEX для взрывоопасных зон. Подробнее>> |
maksimdag0
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 21:18:59 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
4airy писал(а): Добрый день. UPD: Добрый вечер! Выполнил все как написали, к сожалению все та же ошибка вылезает. Не понимаю в чем может быть причина?! Я где прочел, что было такое, заказали как-то партию stm и они тоже все не прошивались Добавлено after 35 seconds: ART_ME писал(а): А что мешает сделать очевидное — попробовать поработать с этими же МК в другом IDE? Мне cubide по душе да и она бесплатная, ещё keil по душе но у неё ограничение имеется. А разве я предлагал Вам перейти на другой IDE? Мне бы проблему решить |
Вернуться наверх | |
Мурик
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 21:59:02 |
||
Карма: 1 Рейтинг сообщения: 0
|
maksimdag0 писал(а): Мне бы проблему решить Выясните в чем она. А для этого проверьте в другой IDE чтобы понять дело в отладчике или МК, или же в IDE. |
||
Вернуться наверх | |||
Asmodey
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Чт авг 11, 2022 22:46:26 |
||
Карма: 13 Рейтинг сообщения: 0
|
В любой непонятной ситуации давите ресет. |
||
Вернуться наверх | |||
4airy
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Пт авг 12, 2022 12:53:35 |
||
Зарегистрирован: Вс июл 24, 2022 11:42:22 Рейтинг сообщения: 0
|
Добрый вечер! Выполнил все как написали, к сожалению все та же ошибка вылезает. Не понимаю в чем может быть причина?! Я где прочел, что было такое, заказали как-то партию stm и они тоже все не прошивались А пробовали стереть чип с помощью ST-LINK Utils, а потом его пробовать прошить через CubeIDE? И желательно конечно использовать связку «Connect under reset» и подключенный пин Reset. |
||
Вернуться наверх | |||
maksimdag0
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Пт авг 12, 2022 22:54:37 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
4airy писал(а): Добрый вечер! Выполнил все как написали, к сожалению все та же ошибка вылезает. Не понимаю в чем может быть причина?! Я где прочел, что было такое, заказали как-то партию stm и они тоже все не прошивались А пробовали стереть чип с помощью ST-LINK Utils, а потом его пробовать прошить через CubeIDE? И желательно конечно использовать связку «Connect under reset» и подключенный пин Reset. Пробовал, без толку Добавлено after 1 minute 33 seconds: maksimdag0 писал(а): Мне бы проблему решить Выясните в чем она. А для этого проверьте в другой IDE чтобы понять дело в отладчике или МК, или же в IDE. Сейчас этим занимаюсь,возникли проблемы со скачивания крякнутого keil. Не на том я сайте похоже скачиваю. Есть у кого достоверный сайт? |
Вернуться наверх | |
MLX90640
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Пт авг 12, 2022 23:39:00 |
||
Карма: 2 Рейтинг сообщения: 0
|
Скачайте Atollic версии 9.3, он так же бесплатен и был донором для CubeIDE, а ныне прекратил дальнейшее развитие. |
||
Вернуться наверх | |||
Asmodey
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Сб авг 13, 2022 00:43:09 |
||
Карма: 13 Рейтинг сообщения: 0
|
Кнопку reset прикрутите и давите ее попеременно с попытками прошить/стереть или прямо во время попыток. Или начинайте прошивать с нажатой кнопкой потом отпускайте. И вообще по всякому. Полученные результаты (даже отрицательные) станут дополнительной пищей для размышлений. |
||
Вернуться наверх | |||
HardWareMan
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Сб авг 13, 2022 07:41:55 |
||
Зарегистрирован: Ср сен 02, 2015 07:47:20 Рейтинг сообщения: 0
|
Кнопку reset прикрутите и давите ее попеременно с попытками прошить/стереть или прямо во время попыток. Или начинайте прошивать с нажатой кнопкой потом отпускайте. И вообще по всякому. Полученные результаты (даже отрицательные) станут дополнительной пищей для размышлений. Так ведь есть же выход сброса у SWD программатора. Подключить его тоже и включить «connect under reset». Что касается непонятного поведения контроллера с Алишечки даже если пытаешься просто помигать светодиодом скажу так: там они все БУ. Найти новый и до пандемии было сложно, а сейчас просто невозможно. У многих из них опции прописаны и в них часто включён сторожевой пёс. Именно такая проблема была чаще всего: если твой контроллер начинает «чудить» особенно со временем — напиши простенькую программку, которая приведёт его опции в исходный заводской вид. Из полусотни контроллеров с Алишечки, что прошли мимо меня, мне пришлось обнулять примерно 2/3. Напомню, что программатором стереть опции нельзя, только ядро может их крутить. Ну и не залочте там случайно RDP. |
||
Вернуться наверх | |||
MLX90640
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Сб авг 13, 2022 09:25:29 |
||
Карма: 2 Рейтинг сообщения: 0
|
Чой-то нельзя? Всё можно через утилиту ST-Link, полный контроль: Включенный аппаратный вачдог будет сбрасывать микроконтроллер при работе приблизительно через каждые (если память не изменяет) 3 секунды. И отключить его можно только через биты опций. Лучше всего это делать через утилиту ST-Link, потому что программно можно напортачить до блокировки микроконтроллера. Хорошо, что у F1 серии блокировка только первого уровня, не полный «кирпич». У F1 рид-аут протекшн лечится просто снятием защиты через утилиту ст-линк, при этом прошивка будет стерта. А вот у более современных серий есть уже вариант Level-2, там уже — полный кирпич. |
||
Вернуться наверх | |||
Мурик
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Сб авг 13, 2022 20:38:42 |
||
Карма: 1 Рейтинг сообщения: 0
|
|||
Вернуться наверх | |||
maksimdag0
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Вс авг 14, 2022 12:25:18 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
HardWareMan писал(а): включить «connect under reset» Asmodey писал(а): Скачайте Atollic версии 9.3 Всем доброго дня! Не отвечал, потом что решал эту проблему, и решил ответить уже с результатом. Перепробовал все что вы предложили, все равно без результатно. Вывел с st-link reset и пытался подключиться с ним! Скачал Atollic, но тоже такая же ошибка. Сейчас установился keil (с официального сайта), хочу проверить на нем, и уже тогда будет 100% ясно в МК проблема или в IDE. Сгенерировал код с Cubmx, открываю проект в keil, компилю, а оно не компилится, вылезал такой текст: «Build started: Project: HTT_EM Решил эту проблему, изменив в настройках установку компилятора на “V6.18”: Вложение:
После этого у меня вылезла новая ошибка: Вложение:
«Build started: Project: Test_project Долго над ней сидел, но так и не получилось ее решить. Из-за чего это ошибка, подскажите, знатоки? Настройки CubMX: Вложение:
Пробовал выбирать различные версии, но ошибка не исчезала. Для удобства все описал в документе Word: Последний раз редактировалось maksimdag0 Вс авг 14, 2022 12:35:36, всего редактировалось 1 раз. |
Вернуться наверх | |
VladislavS
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Вс авг 14, 2022 12:34:51 |
||
Карма: 13 Рейтинг сообщения: 0
|
Проект в директории с русскими буквами? Хотя, keil, вроде бы, этим не болел раньше. |
||
Вернуться наверх | |||
maksimdag0
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Вс авг 14, 2022 12:39:48 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
Проект в директории с русскими буквами? Хотя, keil, вроде бы, этим не болел раньше. Сам путь к проекту без кириллицы, но название моего компьютера С кириллицей «Максим» (см. фото). |
Вернуться наверх | |
MLX90640
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Вс авг 14, 2022 12:52:24 |
||
Карма: 2 Рейтинг сообщения: 0
|
Хотя, у меня, например, имя пользователя — тоже русскими буквами, но проблем с работой не было. А к целевому микроконтроллеру через утилиту ST-Link удается подключиться? Если да, то выберите Target->Option Bytes и посмотрите, что там есть (как в приведенном мною выше скрине). Добавлено after 6 minutes 38 seconds: |
||
Вернуться наверх | |||
maksimdag0
|
Заголовок сообщения: Re: STM32 перестали работать в CubIDE Добавлено: Вс авг 14, 2022 18:10:12 |
Нашел транзистор. Понюхал.
Зарегистрирован: Чт апр 08, 2021 09:46:48 Рейтинг сообщения: 0
|
maksimdag0 писал(а): откройте Target->Option Bytes и посмотрите, какие там галочки установлены или сброшены Вот: Вложение:
Кстати, да. В STMке, которая прошивается она определяется в утилите ST-Link как 128kb, а в STMках, которые не прошиваются — 256kb. Это что получается-то? Другой микроконтроллер? (где-то я читал, у кого-то уже так было вроде, что написано одно, а оказались другие МК, но помоему человек заказывал STM32F103C8T6 а по факту стоял процессор STM32F103C6T6). У меня тогда какой, ведь STM32F103C6T6 не может быть на 256kb? В ST-Link — STMка которая прошивается: Вложение: В ST-Link — STMки которые НЕ прошиваются: Вложение: Маркировка STMки которая прошивается: Вложение: Маркировка STMок которые НЕ прошиваются: Вложение: |
Вернуться наверх | |
Кто сейчас на форуме |
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6 |
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения |