Skip to content
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

串口没有打印的日志,中断好像也有问题 #8

Open
FZR95 opened this issue Oct 5, 2019 · 4 comments
Open

串口没有打印的日志,中断好像也有问题 #8

FZR95 opened this issue Oct 5, 2019 · 4 comments

Comments

@FZR95
Copy link

FZR95 commented Oct 5, 2019

您好,最近在跟着您的专栏学习,但是在程序烧录完毕串口调试时出现了问题
按下rst键后只会显示以下内容:

ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 25648, room 16
tail 0
chksum 0x45
load 0x00014602, len 1074087168, room 8

os_print的日志并没有显示,看起来像是user_main.c并没有执行,然后又进行了实验7,发现蓝灯常亮(GPIO2),其他的灯都不亮,这看起来事实上user_main.c确实运行了,但是中断并没有起作用

@imliubo
Copy link
Owner

imliubo commented Oct 6, 2019

Hi @FZR95 ,
请增加更详细的描述,现在看起来应该是没有正确运行起来.

@FZR95
Copy link
Author

FZR95 commented Oct 8, 2019

比如说烧录您的05.Helloworld ,下载器显示完成,下载过程中板子的灯也一直在闪。但是按下rst可以看到返回的日志,只有上面那些,没有下文了,再按rst也是这些内容,板子上什么也没接,好奇怪。
image
32Mbit-C1我也试了,一样

@FZR95
Copy link
Author

FZR95 commented Oct 9, 2019

嘿嘿我终于知道是为什么了,我又刷了一遍出厂默认AT固件,可能是我之前用arduino的事情?

@imliubo
Copy link
Owner

imliubo commented Oct 9, 2019

这不太清楚,不过以后可以先擦除一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants