micropython / micropython-infineon Goto Github PK
View Code? Open in Web Editor NEWMicroPython ported to Infineon MCUs
License: MIT License
MicroPython ported to Infineon MCUs
License: MIT License
Follow the installation of XMC. got the gdb connected to the XMC4800.
how do i test the micropython on this board
trying picocom with variuos baudrate to /dev/ttyAMA0 port but never get a response from the board.
picocom -b 115200 /dev/ttyAMA0
how do i test the micropython on this XMC4800 board?
Thanks,
Tac.
Hi,
To understand the micropython building procedure, I choose "/unix" and I built it successfully and bin file got generated. Now, I want to ad as a package instead of binary image. So suggest a procedure to install as a package in Linux PC.
Thanks and Regards,
Siva Prakash Reddy
Hello,
Can any one help me in building micropython source code for Infineon's Tricore architecture.?
Thanks and Regards,
Siva Prakash Reddy
The count()
method returns the wrong number of sectors in this port.
This is because the wrong SIZE_MULT calculation constant is used in the init_card()
function
https://github.com/micropython/micropython-infineon/blob/master/drivers/sdcard/sdcard.py#L81
self.sectors = ((csd[8] << 8 | csd[9]) + 1) * 2014
The V2 CSD structure returns the card size in 512KB chunks.
The normal calculation as per the sdcard.org specification (SD Specifications, Part 1, Physical Layer Simplified Specification Version 2.00 September 25, 2006) is:
nbytes = ((CSIZE-1) * 512 * 1024) # V2 cards always report in 512KB chunks
nblocks = nbytes / 512 # V2 cards always work with a 512 byte sector/BLOCK_LEN
This reduces to:
nblocks = (CSIZE-1) * 512 * 1024 / 512
nblocks = (CSIZE-1) * 1024
I guess this is just a typo by the original author, as you have the same digits but transposed.
hello ,
I want to run micropython from eclipse ide .
I want to know the steps to Configure Eclipse to run micropython esp32
Hello,
I am working on Infineon's Tri-Core controller and I am using AUTOSAR as OS for my automotive project. Now, I need for generic micropython source code for porting onto tricore controller. Please provide generic micropython source code.
Please respond as soon as possible.
Thanks and regards,
Siva Prakash Reddy
Typical result (for recent date) on an ESP8266 would be 605078638 using the ntptime module in MicroPython. Which obviously converts to a human readable date/time format, such as Sun, 05 Mar 1989 05:23:58 +0000 but clearly the month and day are correct but the year is off by 20 years? Should be closer to something like 1551764000, no? Packet is sent to NTP source and received as expected just not the result expected.
Please instead go to:
micropython
here: https://github.com/micropython/micropythonmicropython-lib
here: https://github.com/micropython/micropython-libDear Support Team,
I am trying to build Micropython Source code for Infineon Tricore Architecture Controller with HighTec IDE (Provided by infineon) which is eclipse version and I am using Windows 10 OS. I modified main.c in /minimal directory and added to my project and tried to build it. I am facing following issue while running python script file available in /py directory
C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py>
C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py>makeqstrdata.py qstrdefs.h
Traceback (most recent call last):
File "C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py\makeqstrdata.py", line 158, in
do_work(sys.argv[1:])
File "C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py\makeqstrdata.py", line 155, in do_work
print_qstr_data(qcfgs, qstrs)
File "C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py\makeqstrdata.py", line 138, in print_qstr_data
cfg_bytes_len = int(qcfgs['BYTES_IN_LEN'])
ValueError: invalid literal for int() with base 10: 'MICROPY_QSTR_BYTES_IN_LEN'
C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py>
Please help me in this regard.
Thanks and Regards,
Siva Prakash Reddy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.