Search found 81 matches
- Wed Oct 11, 2017 3:05 am
- Forum: General Discussion and Questions
- Topic: Dealing with partial code tampering on external memory
- Replies: 19
- Views: 10969
Re: Dealing with partial code tampering on external memory
Well, not really as if the customer itself wanted their product to be break if it is tampered, instead of working but not as designed. Take a sample of rented product. Our customers (A) is a service company, want their product to be working as designed as it is, when they rent it to their customers...
- Wed Oct 11, 2017 2:58 am
- Forum: General Discussion and Questions
- Topic: Dealing with partial code tampering on external memory
- Replies: 19
- Views: 10969
Re: Dealing with partial code tampering on external memory
If he paid for it, he's a customer and it's theirs to use however they like. If you are afraid that they will be distributing modified devices, there are laws in place to protect you from that, and I would recommend basing it on that, because there is no technical way to distinguish between a legit...
- Mon Oct 09, 2017 9:19 am
- Forum: Development of MicroPython
- Topic: Reusing uart.c functions for a serial device
- Replies: 3
- Views: 3479
Re: Reusing uart.c functions for a serial device
I'm working on a project with a couple of serial protocols that need to run relatively fast. I'm thinking of creating C modules that implement the protocols so that the Python interface doesn't have to keep up with the character-level protocols. Can I link against uart.c to pick up the basic uart i...
- Mon Oct 09, 2017 9:08 am
- Forum: Other Boards
- Topic: Porting to LPC546XX
- Replies: 2
- Views: 2870
Re: Porting to LPC546XX
These days I found that there are very little resource about Micropython using in LPC series, so I plan to make a porting to LPC546XX. I`d like to know how to draw lessons from STM series, can someone give me a hand? :D Many thanks! As it is same cortex-m4 chip, I believe it isn't too hard if given...
- Mon Oct 09, 2017 9:00 am
- Forum: Development of MicroPython
- Topic: Starting with MicroPython development, many questions
- Replies: 1
- Views: 2010
Re: Starting with MicroPython development, many questions
This of course relies on c_sample_callback_obj being set via the set_callback function in the python script. Is there a way to call a python function from C without using the set_callback mechanism? For example if I know my python script will have the function hello() in it, is there a way I can ca...
- Mon Oct 09, 2017 8:53 am
- Forum: Programs, Libraries and Tools
- Topic: encryption, block cipher, simple (micro-)pythonic way to access
- Replies: 2
- Views: 4247
- Mon Oct 09, 2017 8:50 am
- Forum: Other Boards
- Topic: Need a Micropython Port for Nucelo F746ZI
- Replies: 2
- Views: 2481
Re: Need a Micropython Port for Nucelo F746ZI
Currently there is no support for you particular board, but there is a support for NUCLEO_F767ZI which is the closest board. The best route is using this board and see what is not working. Try it first and if you found a problem, you could ask in the forum and we'll gladly help.
- Mon Oct 09, 2017 8:43 am
- Forum: Other Boards
- Topic: [STM32F4-discovery] setting UART2 in PD5 and PD6
- Replies: 2
- Views: 3116
Re: [STM32F4-discovery] setting UART2 in PD5 and PD6
Most likely the pin PD6 is used as other functtion. maybe you could try to set the REPL in boards\mpconfigboard.h by add the code : #define MICROPY_HW_UART2_TX (pin_D5) #define MICROPY_HW_UART2_RX (pin_D6) #define MICROPY_HW_UART_REPL PYB_UART_2 #define MICROPY_HW_UART_REPL_BAUD 115200
- Mon Oct 09, 2017 7:47 am
- Forum: General Discussion and Questions
- Topic: Dealing with partial code tampering on external memory
- Replies: 19
- Views: 10969
Re: Dealing with partial code tampering on external memory
If he paid for it, he's a customer and it's theirs to use however they like. If you are afraid that they will be distributing modified devices, there are laws in place to protect you from that, and I would recommend basing it on that, because there is no technical way to distinguish between a legit...
- Mon Oct 09, 2017 6:38 am
- Forum: General Discussion and Questions
- Topic: SPI py2py Master and Slave comm problem
- Replies: 6
- Views: 4426
Re: SPI py2py Master and Slave comm problem
Some problem with pyboard SPI could be solved by using spi.deinit() here and there. In my case, I do deinit() everytime I need to read SPI data, and re-initialize everytime I do SPI write.