Skip to Main Content

Embedded Technologies

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

API Permissions have no effect on ME 8.2

Ashok449Nov 6 2015 — edited Nov 11 2015

Hello All,

I'm trying to access UART3 device on FRDM-K64F, I observed API permissions have no effect on it.

I can open the device successfully using below code, without adding permissions in project.

What does it mean ? anyhow how I can't READ/WRITE to the device with/without API permissions. Any Idea Why I can't read/write on UART3 !?

        int UART_DEVICE_ID = 100; //device id for UART3

        int UART_BAUD_RATE = 9600;

        int UART_DATA_BITS = UARTConfig.DATABITS_8;

        int UART_PARITY_BIT = UARTConfig.PARITY_NONE;

        int UART_STOP_BIT = UARTConfig.STOPBITS_1;

            uart = (UART) DeviceManager.open(UART_DEVICE_ID);

            uart.setBaudRate(UART_BAUD_RATE);

            uart.setDataBits(UART_DATA_BITS);

            uart.setParity(UART_PARITY_BIT);

            uart.setStopBits(UART_STOP_BIT);

            uart.setReceiveTimeout(500);

Thanks,

Ashok

This post has been answered by Boris Kvartskhava-Oracle on Nov 10 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2015
Added on Nov 6 2015
1 comment
1,144 views