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

How to make ets_printf work in stage2a? #40

Open
zdila opened this issue Feb 12, 2019 · 2 comments
Open

How to make ets_printf work in stage2a? #40

zdila opened this issue Feb 12, 2019 · 2 comments

Comments

@zdila
Copy link

zdila commented Feb 12, 2019

Is there a reason why ets_printf prints nothing from rboot-stage2a.c? It would be nice to have it for debugging purposes.

@raburton
Copy link
Owner

I can't think of any reason it wouldn't work from there, but we're running code from an area of memory we aren't intended to (it's normally for the flash cache, but isn't yet being used). Maybe the printf function isn't happy to access this area for it's parameters?

@zdila
Copy link
Author

zdila commented Feb 18, 2019

Note that ets_putc works there.

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